Skip to content

Commit

Permalink
Show CMake arguments for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
vsbogd committed Apr 26, 2024
1 parent 870fb0e commit bd4c222
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions python/install-hyperonc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,14 @@ while getopts 'u:r:l' opt; do
esac
done

echo "hyperonc repository URL $HYPERONC_URL"
echo "hyperonc revision $HYPERONC_REV"
echo "hyperonc repository URL: $HYPERONC_URL"
echo "hyperonc revision: $HYPERONC_REV"
# Rust doesn't support building shared libraries under musllinux environment
CMAKE_ARGS="-DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release"
if test ! -z "$HYPERONC_PREFIX"; then
CMAKE_ARGS="$CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=$HYPERONC_PREFIX"
fi
echo "hyperonc CMake arguments: $CMAKE_ARGS"

# This is to build subunit from Conan on CentOS based manylinux images.
if test "$AUDITWHEEL_POLICY" = "manylinux2014"; then
Expand All @@ -50,11 +56,6 @@ git reset --hard FETCH_HEAD

mkdir -p ${HOME}/hyperonc/c/build
cd ${HOME}/hyperonc/c/build
# Rust doesn't support building shared libraries under musllinux environment
CMAKE_ARGS=-DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release
if test ! -z "$HYPERONC_PREFIX"; then
CMAKE_ARGS=$CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=$HYPERONC_PREFIX
fi
cmake $CMAKE_ARGS ..
make
make check
Expand Down

0 comments on commit bd4c222

Please sign in to comment.