File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff 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 ..
You can’t perform that action at this time.
0 commit comments