Skip to content

Commit

Permalink
Add -pthread generally
Browse files Browse the repository at this point in the history
Not sure if deduplicated or otherwise lost, but the link order
in ADIOS2 seems to be
```
... libadios2_taustubs.a -ldl -lpthread /usr/local/lib/libblosc.a ...
```
  • Loading branch information
ax3l committed Jun 17, 2021
1 parent e43141d commit 24e42b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions library_builders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@ function build_hdf5 {
# static libs need relocatable symbols for linking to shared python lib
export CFLAGS+=" -fPIC"
export CXXFLAGS+=" -fPIC"
# Blosc PThread propagation does not work well at least on ppc64le
export CFLAGS+=" -pthread"
export CXXFLAGS+=" -pthread"
export LDFLAGS+=" -pthread"

install_buildessentials
build_blosc
Expand Down

0 comments on commit 24e42b8

Please sign in to comment.