Skip to content

Commit

Permalink
travis: fix rpm build step so that efa, usnic, and verbs are built
Browse files Browse the repository at this point in the history
Using `make rpm` will drop the needed configure flags to use the
non-standard rdma-core installation path. Fix this so that the tarball
and rpm build test these providers as well.

Signed-off-by: Robert Wespetal <[email protected]>
  • Loading branch information
rwespetal committed Apr 3, 2020
1 parent 7fd1a9a commit b6d03ff
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,15 @@ install:
- make install
- make test
- make distcheck
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make rpm; fi
# We don't want to use LIBFABRIC_CONFIGURE_ARGS here as the standard
# prefix should be tested when building the RPM.
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
make dist;
config_options="--enable-efa=$RDMA_CORE_PATH
--enable-verbs=$RDMA_CORE_PATH --enable-usnic";
LDFLAGS=-Wl,--build-id rpmbuild -ta
--define "configopts $config_options" libfabric-*.tar.bz2;
fi

script:
- cd fabtests
Expand Down

0 comments on commit b6d03ff

Please sign in to comment.