Dmitry Eremin-Solenikov(lumag) replied on github web page:

example/instrum/Makefile.am
line 15
@@ -0,0 +1,20 @@
+LIB   = $(top_builddir)/lib
+
+AM_CFLAGS = \
+        -I$(srcdir) \
+        -I$(top_srcdir)/example \
+        -I$(top_srcdir)/platform/@with_platform@/include \
+        -I$(top_srcdir)/include/ \
+        -I$(top_srcdir)/include/odp/arch/@ARCH_ABI@ \
+        -I$(top_srcdir)/helper/include \
+        -I$(top_builddir)/platform/@with_platform@/include \
+        -I$(top_srcdir)/platform/@with_platform@/arch/@ARCH_DIR@ \
+        -I$(top_builddir)/include \
+        -I$(PAPI_PATH)/include
+
+AM_LDFLAGS = -L$(PAPI_PATH)/lib -lpapi


Comment:
Again, use `$(PAPI_LIBS)` here

> Dmitry Eremin-Solenikov(lumag) wrote:
> Please restructure include flags:
>  - Use `$(ODP_INCLUDES)` to get all ODP includes
>  - Use `$(PAPI_CFLAGS)` here.


https://github.com/Linaro/odp/pull/443#discussion_r165803501
updated_at 2018-02-03 03:36:49

Reply via email to