lib: rename to libigt
PATCH 1/2 lib: rename to libigt
Just for ocd.
--- benchmarks/Makefile.am | 2 +- debugger/Makefile.am | 2 +- demos/Makefile.am | 2 +- lib/Makefile.am | 10 +++++----- lib/tests/Makefile.am | 2 +- tests/Makefile.am | 2 +- tools/Makefile.am | 6 +++--- 7 files changed, 13 insertions(+), 13 deletions(-)
benchmarks/Makefile.am +1 -1
@@ -9,7 +9,7 @@ endif AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) $(CAIRO_CFLAGS) $(LIBUNWIND_CFLAGS) \ $(WERROR_CFLAGS) -LDADD = $(top_builddir)/lib/libintel_tools.la +LDADD = $(top_builddir)/lib/libigt.la benchmarks_LTLIBRARIES = gem_exec_tracer.la gem_exec_tracer_la_LDFLAGS = -module -avoid-version -no-undefined
debugger/Makefile.am +1 -1
@@ -15,4 +15,4 @@ AM_CFLAGS = \ $(LIBUNWIND_CFLAGS) \ $(CWARNFLAGS) -LDADD = $(top_builddir)/lib/libintel_tools.la +LDADD = $(top_builddir)/lib/libigt.la
demos/Makefile.am +1 -1
@@ -9,4 +9,4 @@ endif AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib AM_CFLAGS = $(DRM_CFLAGS) $(PCIACCESS_CFLAGS) $(CWARNFLAGS) \ $(CAIRO_CFLAGS) $(LIBUNWIND_CFLAGS) $(WERROR_CFLAGS) -LDADD = $(top_builddir)/lib/libintel_tools.la +LDADD = $(top_builddir)/lib/libigt.la
lib/Makefile.am +5 -5
@@ -5,19 +5,19 @@ SUBDIRS = . tests include Makefile.sources -libintel_tools_la_SOURCES = $(lib_source_list) +libigt_la_SOURCES = $(lib_source_list) -noinst_LTLIBRARIES = libintel_tools.la +noinst_LTLIBRARIES = libigt.la noinst_HEADERS = check-ndebug.h if HAVE_LIBDRM_VC4 - libintel_tools_la_SOURCES += \ + libigt_la_SOURCES += \ igt_vc4.c \ igt_vc4.h endif if !HAVE_LIBDRM_INTEL - libintel_tools_la_SOURCES += \ + libigt_la_SOURCES += \ stubs/drm/intel_bufmgr.c \ stubs/drm/intel_bufmgr.h endif
@@ -67,7 +67,7 @@ AM_CFLAGS = \ AM_CFLAGS += $(CAIRO_CFLAGS) -libintel_tools_la_LIBADD = \ +libigt_la_LIBADD = \ $(DRM_LIBS) \ $(PCIACCESS_LIBS) \ $(PROCPS_LIBS) \
lib/tests/Makefile.am +1 -1
@@ -14,7 +14,7 @@ AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) $(DEBUG_CFLAGS) \ -DIGT_DATADIR=\""$(abs_srcdir)"\" \ $(NULL) -LDADD = ../libintel_tools.la $(PCIACCESS_LIBS) $(DRM_LIBS) $(LIBUNWIND_LIBS) $(TIMER_LIBS) +LDADD = ../libigt.la $(PCIACCESS_LIBS) $(DRM_LIBS) $(LIBUNWIND_LIBS) $(TIMER_LIBS) LDADD += $(CAIRO_LIBS) $(LIBUDEV_LIBS) $(GLIB_LIBS) -lm AM_CFLAGS += $(CAIRO_CFLAGS) $(LIBUDEV_CFLAGS) $(GLIB_CFLAGS)
tests/Makefile.am +1 -1
@@ -79,7 +79,7 @@ AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) -Wno-unused-result $(DEBUG_CFLAGS)\ $(LIBUNWIND_CFLAGS) $(WERROR_CFLAGS) \ $(NULL) -LDADD = ../lib/libintel_tools.la $(XMLRPC_LIBS) +LDADD = ../lib/libigt.la $(XMLRPC_LIBS) AM_CFLAGS += $(CAIRO_CFLAGS) $(LIBUDEV_CFLAGS) AM_LDFLAGS = -Wl,--as-needed
tools/Makefile.am +3 -3
@@ -10,7 +10,7 @@ endif if HAVE_UDEV bin_PROGRAMS += intel_dp_compliance intel_dp_compliance_CFLAGS = $(AM_CFLAGS) -intel_dp_compliance_LDADD = $(top_builddir)/lib/libintel_tools.la +intel_dp_compliance_LDADD = $(top_builddir)/lib/libigt.la endif SUBDIRS = null_state_gen registers
@@ -19,7 +19,7 @@ AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib AM_CFLAGS = $(DEBUG_CFLAGS) $(DRM_CFLAGS) $(PCIACCESS_CFLAGS) $(CWARNFLAGS) \ $(CAIRO_CFLAGS) $(LIBUNWIND_CFLAGS) -DPKGDATADIR=\"$(pkgdatadir)\" \ $(WERROR_CFLAGS) -LDADD = $(top_builddir)/lib/libintel_tools.la +LDADD = $(top_builddir)/lib/libigt.la AM_LDFLAGS = -Wl,--as-needed # aubdumper
@@ -28,7 +28,7 @@ module_LTLIBRARIES = intel_aubdump.la moduledir = $(libdir) intel_aubdump_la_LDFLAGS = -module -avoid-version -no-undefined intel_aubdump_la_SOURCES = aubdump.c -intel_aubdump_la_LIBADD = $(top_builddir)/lib/libintel_tools.la -ldl +intel_aubdump_la_LIBADD = $(top_builddir)/lib/libigt.la -ldl bin_SCRIPTS = intel_aubdump CLEANFILES = $(bin_SCRIPTS)
Signature · 6 lines
2.5.5 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/2 lib: Attemp at .so libraries
I managed to get it built, but none of the executables is using it.
At least one version of this also needed the alsa lib/flags added, so it'll build properly as an .so. No idea why it doesn't go boom when only building the .la.
--- configure.ac | 2 ++ lib/Makefile.am | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-)
configure.ac +2 -0
@@ -39,6 +39,8 @@ AC_CANONICAL_TARGET AM_INIT_AUTOMAKE([1.12 foreign subdir-objects dist-bzip2]) AM_PATH_PYTHON([3],, [:]) +LT_INIT + AC_PROG_CC AC_PROG_LEX AC_PROG_YACC
lib/Makefile.am +4 -2
@@ -5,9 +5,10 @@ SUBDIRS = . tests include Makefile.sources +lib_LTLIBRARIES = libigt.la + libigt_la_SOURCES = $(lib_source_list) -noinst_LTLIBRARIES = libigt.la noinst_HEADERS = check-ndebug.h if HAVE_LIBDRM_VC4
@@ -60,6 +61,7 @@ AM_CFLAGS = \ $(PIXMAN_CFLAGS) \ $(GLIB_CFLAGS) \ $(VALGRIND_CFLAGS) \ + $(ALSA_CFLAGS) \ -DIGT_SRCDIR=\""$(abs_top_srcdir)/tests"\" \ -DIGT_DATADIR=\""$(pkgdatadir)"\" \ -DIGT_LOG_DOMAIN=\""$(subst _,-,$*)"\" \
@@ -81,5 +83,5 @@ libigt_la_LIBADD = \ $(LIBUDEV_LIBS) \ $(PIXMAN_LIBS) \ $(GLIB_LIBS) \ + $(ALSA_LIBS) \ -lm -
Signature · 6 lines
2.5.5 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.BAT: failure for series starting with [1/2] lib: rename to libigt
In reply to Daniel Vetter== Series Details ==
== Series Details ==
Series: series starting with [1/2] lib: rename to libigt
URL : https://patchwork.freedesktop.org/series/29603/
State : failure
== Summary ==
IGT patchset build failed on latest successful build c2159678d283fea5615ec8e846a51cf4954ac82d tests/perf: add Geminilake support
make all-recursive
Making all in lib
make all-recursive
Making all in .
Making all in tests
make[4]: Nothing to be done for 'all'.
Making all in man
make[2]: Nothing to be done for 'all'.
Making all in tools
Making all in null_state_gen
make[3]: Nothing to be done for 'all'.
Making all in registers
make[3]: Nothing to be done for 'all'.
CCLD intel_aubdump.la
ar: u' modifier ignored since D' is the default (see `U')
CCLD intel_audio_dump CCLD intel_reg CCLD intel_bios_dumper
intel_bios_dumper.o: In function `main':/home/cidrm/intel-gpu-tools/tools/intel_bios_dumper.c:58: undefined reference to pci_system_init' /home/cidrm/intel-gpu-tools/tools/intel_bios_dumper.c:66: undefined reference to pci_device_find_by_slot' /home/cidrm/intel-gpu-tools/tools/intel_bios_dumper.c:70: undefined reference to pci_device_probe' /home/cidrm/intel-gpu-tools/tools/intel_bios_dumper.c:89: undefined reference to pci_device_read_rom' /home/cidrm/intel-gpu-tools/tools/intel_bios_dumper.c:109: undefined reference to `pci_system_cleanup'
collect2: error: ld returned 1 exit status
Makefile:893: recipe for target 'intel_bios_dumper' failed
make[3]: *** [intel_bios_dumper] Error 1
Makefile:1193: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
Makefile:530: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Makefile:462: recipe for target 'all' failed
make: *** [all] Error 2
====================================================
intel-gpu-tools 1.19: lib/tests/test-suite.log
====================================================
# TOTAL: 17
# PASS: 11
# SKIP: 0
# XFAIL: 6
# FAIL: 0
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
XFAIL: igt_no_exit
==================
IGT-Version: 1.19-gba75a8bd (x86_64) (Linux: 4.10.0-28-generic x86_64)
Subtest A: SUCCESS (0.000s)igt_no_exit: igt_core.c:573: common_exit_handler: Assertion `sig != 0 || igt_exit_called' failed. XFAIL igt_no_exit (exit status: 134)
XFAIL: igt_no_exit_list_only
============================
igt_no_exit_list_only: igt_core.c:573: common_exit_handler: Assertion `sig != 0 || igt_exit_called' failed. A
XFAIL igt_no_exit_list_only (exit status: 134)
XFAIL: igt_no_subtest
=====================
igt_no_subtest: igt_core.c:1474: igt_exit: Assertion `!test_with_subtests || skipped_one || succeeded_one || failed_one' failed.
IGT-Version: 1.19-gba75a8bd (x86_64) (Linux: 4.10.0-28-generic x86_64)
Received signal SIGABRT.
XFAIL igt_no_subtest (exit status: 134)
XFAIL: igt_simple_test_subtests
===============================
igt_simple_test_subtests: igt_core.c:949: __igt_run_subtest: Assertion `test_with_subtests' failed.
IGT-Version: 1.19-gba75a8bd (x86_64) (Linux: 4.10.0-28-generic x86_64)
Received signal SIGABRT.
XFAIL igt_simple_test_subtests (exit status: 134)
XFAIL: igt_timeout
==================
Test igt_timeout failed.
**** DEBUG ****
(igt_timeout:1099) igt-core-INFO: IGT-Version: 1.19-gba75a8bd (x86_64) (Linux: 4.10.0-28-generic x86_64) (igt_timeout:1099) igt-core-INFO: Timed out: Testcase
**** END ****
IGT-Version: 1.19-gba75a8bd (x86_64) (Linux: 4.10.0-28-generic x86_64)
Timed out: Testcase
FAIL (1.000s)
XFAIL igt_timeout (exit status: 99)
XFAIL: igt_invalid_subtest_name
===============================
IGT-Version: 1.19-gba75a8bd (x86_64) (Linux: 4.10.0-28-generic x86_64)
(igt_invalid_subtest_name:1117) igt-core-CRITICAL: Invalid subtest name "# invalid name !".igt_invalid_subtest_name: igt_core.c:1474: igt_exit: Assertion `!test_with_subtests || skipped_one || succeeded_one || failed_one' failed. Received signal SIGABRT.
XFAIL igt_invalid_subtest_name (exit status: 134)
====================================================
intel-gpu-tools 1.19: assembler/test-suite.log
====================================================
# TOTAL: 10
# PASS: 10
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
================================================
intel-gpu-tools 1.19: tests/test-suite.log
================================================
# TOTAL: 1
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx