diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 1be920d6a..5bc119644 100644 --- a/.travis.yml +++ b/.travis.yml @@ -257,7 +257,7 @@ script: - echo "Dynamic link.." - ${CC} ${CFLAGS} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst_dynamic `PKG_CONFIG_PATH=${HOME}/odp-install/lib/pkgconfig:${PKG_CONFIG_PATH} pkg-config --cflags --libs libodp-linux` - if [ -z "$CROSS_ARCH" ] ; then - sudo ODP_PLATFORM_PARAMS="-n 2" LD_LIBRARY_PATH="${HOME}/odp-install/lib:$LD_LIBRARY_PATH" ./odp_hello_inst_dynamic ; + sudo LD_LIBRARY_PATH="${HOME}/odp-install/lib:$LD_LIBRARY_PATH" ./odp_hello_inst_dynamic ; fi - | # it is not possible to do static linking if we only have shared DPDK library. Compiler complains about missing -ldpdk @@ -265,7 +265,7 @@ script: echo "Static link.." ${CC} ${CFLAGS} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst_static `PKG_CONFIG_PATH=${HOME}/odp-install/lib/pkgconfig:${PKG_CONFIG_PATH} pkg-config --cflags --libs libodp-linux --static` -static || exit 1 if [ -z "$CROSS_ARCH" ] ; then - sudo ODP_PLATFORM_PARAMS="-n 2" ./odp_hello_inst_static; + sudo ./odp_hello_inst_static; fi fi - popd |