Dmitry Eremin-Solenikov(lumag) replied on github web page: example/Makefile.inc line 5 @@ -13,4 +13,8 @@ AM_CFLAGS = \ -I$(top_srcdir)/platform/@with_platform@/arch/@ARCH_DIR@ \ -I$(top_builddir)/include +if CODE_INSTRUM +AM_LDFLAGS = -L$(LIB) -lssl -lcrypto -latomic
Comment: I suggest to pick up dynamic-examples-tests PR into your branch and then base this code on top. > Dmitry Eremin-Solenikov(lumag) wrote: > Could you please support bare --with-papi, so that one can use > system-provided PAPI? >> bogdanPricope wrote >> In 'example/m4/configure.m4' there is this conditional: >> AM_CONDITIONAL([CODE_INSTRUM], [test x$code_instrumentation = xyes]) >> >> It is defined if PAPI path is set at configure time: --with-papi-path=DIR >> We have similar arrangements for different pktios (netmap, etc) >>> Bill Fischofer(Bill-Fischofer-Linaro) wrote: >>> How does this get enabled/tested? >>>> Bill Fischofer(Bill-Fischofer-Linaro) wrote: >>>> The PAPI enable/disable status should also be configured in the >>>> `configure` summary. https://github.com/Linaro/odp/pull/406#discussion_r164107037 updated_at 2018-01-26 13:11:10