Skip to content

Commit

Permalink
tests/ports: add some missing -D to enable more ports' code
Browse files Browse the repository at this point in the history
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
  • Loading branch information
bgoglin committed Jun 20, 2023
1 parent 93fbfa3 commit a7549c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/hwloc/ports/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ nodist_libhwloc_port_nvml_la_SOURCES = topology-nvml.c
libhwloc_port_nvml_la_SOURCES = \
include/nvml/nvml.h
libhwloc_port_nvml_la_CPPFLAGS = $(common_CPPFLAGS) \
-I$(HWLOC_top_srcdir)/tests/hwloc/ports/include/nvml
-I$(HWLOC_top_srcdir)/tests/hwloc/ports/include/nvml \
-DHAVE_DECL_NVMLDEVICEGETMAXPCIELINKGENERATION=1

nodist_libhwloc_port_rsmi_la_SOURCES = topology-rsmi.c
libhwloc_port_rsmi_la_SOURCES = \
Expand All @@ -177,6 +178,7 @@ libhwloc_port_levelzero_la_SOURCES = \
include/levelzero/level_zero/zes_api.h
libhwloc_port_levelzero_la_CPPFLAGS = $(common_CPPFLAGS) \
-I$(HWLOC_top_srcdir)/tests/hwloc/ports/include/levelzero \
-DHWLOC_HAVE_ZEDEVICEPCIGETPROPERTIESEXT=1 \
-DHWLOC_HAVE_ZESINIT=1

nodist_libhwloc_port_gl_la_SOURCES = topology-gl.c
Expand Down

0 comments on commit a7549c0

Please sign in to comment.