Skip to content

Commit

Permalink
Moved sos_version assignment to top of 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 3adbbc8 commit 541332d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,14 +234,14 @@ 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
sos_version=$(cat configure.ac | grep AC_INIT | awk -F"]" '{print substr($2, 4, length($2)-2)}')
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
sos_version=$(cat configure.ac | grep AC_INIT | awk -F"]" '{print substr($2, 4, length($2)-2)}')
cd "sandia-openshmem-"$sos_version
./autogen.sh
mkdir build
Expand Down

0 comments on commit 541332d

Please sign in to comment.