This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
forked from h5py/hdf5-manylinux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2b33b25
commit bc66f38
Showing
5 changed files
with
54 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
set -euo pipefail | ||
|
||
BOOST_DOWNLOAD_FILE="boost-cmake.tar.xz" | ||
pushd /tmp | ||
|
||
BOOST_DOWNLOAD_FILE="/cache/boost-cmake.tar.xz" | ||
curl -fsSL -o $BOOST_DOWNLOAD_FILE https://github.com/boostorg/boost/releases/download/boost-${BOOST_VERSION}/boost-${BOOST_VERSION}-cmake.tar.xz | ||
tar -xvf $BOOST_DOWNLOAD_FILE | ||
tar -xf $BOOST_DOWNLOAD_FILE -C /tmp | ||
pushd boost-${BOOST_VERSION} | ||
|
||
./boostrap.sh --prefix=${BOOST_DIR} | ||
./bootstrap.sh --prefix=${BOOST_DIR} | ||
# We have to explicitly include cmakedir here so that cmake files are installed | ||
./b2 variant=release toolset=gcc --with-headers --cmakedir=${BOOST_DIR}/lib/cmake install | ||
|
||
popd | ||
|
||
rm -rf boost-${BOOST_VERSION} ${BOOST_DOWNLOAD_FILE} | ||
rm -rf boost-${BOOST_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- CMakeLists.txt 2024-07-16 15:43:44.268427707 +0000 | ||
+++ CMakeLists.txt.new 2024-07-16 15:43:38.540403952 +0000 | ||
@@ -12,6 +12,8 @@ | ||
include(TestBigEndian) | ||
test_big_endian(WORDS_BIGENDIAN) | ||
|
||
+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin) | ||
+ | ||
# Check for __builtin_clzll for faster decoding | ||
include(CheckCSourceCompiles) | ||
check_c_source_compiles( |