Skip to content

Commit 48e04b1

Browse files
author
Jeff Whitaker
authored
Update config.sh
1 parent 6a0e2b5 commit 48e04b1

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

config.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,13 @@ function build_hdf5 {
125125
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$BUILD_PREFIX/lib
126126
./configure --without-szlib --prefix=$BUILD_PREFIX --enable-threadsafe --enable-unsupported --with-pthread=yes --enable-build-mode=production --host=aarch64-apple-darwin --enable-tests=no
127127
ls -l
128-
#mkdir -p native-build/bin
129-
#cd native-build/bin
130-
#CFLAGS= $CC ../../src/H5detect.c -I ../../src/ -o H5detect
131-
#CFLAGS= $CC ../../src/H5make_libsettings.c -I ../../src/ -o H5make_libsettings
132-
#cd ..
133-
#export PATH=$(pwd)/native-build/bin:$PATH
128+
mkdir -p native-build/bin
129+
cd native-build/bin
130+
CC=clang
131+
CFLAGS= $CC ../../src/H5detect.c -I ../../src/ -o H5detect
132+
CFLAGS= $CC ../../src/H5make_libsettings.c -I ../../src/ -o H5make_libsettings
133+
cd ..
134+
export PATH=$(pwd)/native-build/bin:$PATH
134135
make -j4
135136
make install
136137
cd ..

0 commit comments

Comments
 (0)