Skip to content

Commit

Permalink
Unpacked SOS tarball at the start of the RPM CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
kholland-intel committed Nov 29, 2023
1 parent 541332d commit bd3b78e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,14 +234,15 @@ jobs:
#make dist
#rpmbuild -ta ./sandia-openshmem-*.tar.gz --define "configargs --with-ofi=${LIBFABRIC_INSTALL_DIR} ${{ matrix.sos_config }}" --define "_prefix /usr/shmem"
#make clean
tar zxvf sandia-openshmem-*.tar.gz
sos_version=$(cat configure.ac | grep AC_INIT | awk -F"]" '{print substr($2, 4, length($2)-2)}')
#Remove the test symlink and copy the submodule's test directory into a new test directory on SOS
rm "sandia-openshmem-"$sos_version/test
cp -r "sandia-openshmem-"$sos_version/modules/tests-sos/test "sandia-openshmem-"$sos_version/test
./configure --with-ofi=${LIBFABRIC_INSTALL_DIR} ${{ matrix.sos_config }}
make dist
rpmbuild -ta ./sandia-openshmem-*.tar.gz --define "configargs --with-ofi=${LIBFABRIC_INSTALL_DIR} ${{ matrix.sos_config }}"
# Sanity check distribution tarball
tar zxvf sandia-openshmem-*.tar.gz
# Sanity check the distribution tarball that we unpacked a few steps earlier
cd "sandia-openshmem-"$sos_version
./autogen.sh
mkdir build
Expand Down

0 comments on commit bd3b78e

Please sign in to comment.