Skip to content

Commit

Permalink
ADIOS2: Patch FindBlosc.cmake (Threads)
Browse files Browse the repository at this point in the history
Fix the FindBlosc.cmake logic to search properly for
threads.
  • Loading branch information
ax3l committed Jun 17, 2021
1 parent 0063880 commit de3b79a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion library_builders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ function build_adios2 {
file adios2*.tar.gz
tar -xzf adios2*.tar.gz
rm adios2*.tar.gz

# Patch PThread Propagation
curl -sLo blosc-pthread.patch \
https://patch-diff.githubusercontent.com/raw/ornladios/ADIOS2/pull/2768.patch
python -m patch -p 1 -d ADIOS2-2.7.1 adios-pthread.patch

mkdir build-ADIOS2
cd build-ADIOS2
PY_BIN=$(which python)
Expand Down Expand Up @@ -114,7 +120,6 @@ function build_adios2 {
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_DISABLE_FIND_PACKAGE_LibFFI=TRUE \
-DCMAKE_DISABLE_FIND_PACKAGE_BISON=TRUE \
-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON \
-DCMAKE_INSTALL_PREFIX=${BUILD_PREFIX} ../ADIOS2-*

make -j${CPU_COUNT}
Expand Down

0 comments on commit de3b79a

Please sign in to comment.