File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ function build_hdf5 {
87
87
fetch_unpack $hdf5_url /hdf5-$short /hdf5-$HDF5_VERSION /src/hdf5-$HDF5_VERSION .tar.gz
88
88
89
89
if [[ ! -z " IS_OSX" && " $PLAT " = " arm64" ]] && [[ " $CROSS_COMPILING " = " 1" ]]; then
90
- pushd hdf5-$HDF5_VERSION
90
+ cd hdf5-$HDF5_VERSION
91
91
# from https://github.com/conda-forge/hdf5-feedstock/commit/2cb83b63965985fa8795b0a13150bf0fd2525ebd
92
92
export ac_cv_sizeof_long_double=8
93
93
export hdf5_cv_ldouble_to_long_special=no
@@ -125,14 +125,14 @@ function build_hdf5 {
125
125
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :$BUILD_PREFIX /lib
126
126
./configure --without-szlib --prefix=$BUILD_PREFIX --enable-threadsafe --enable-unsupported --with-pthread=yes --enable-build-mode=production --host=aarch64-apple-darwin --enable-tests=no
127
127
mkdir -p native-build/bin
128
- pushd native-build/bin
128
+ cd native-build/bin
129
129
CFLAGS= $CC ../../src/H5detect.c -I ../../src/ -o H5detect
130
130
CFLAGS= $CC ../../src/H5make_libsettings.c -I ../../src/ -o H5make_libsettings
131
- popd
132
- export PATH=$( pwd) /native-build/bin:$PAT
131
+ cd ..
132
+ export PATH=$( pwd) /native-build/bin:$PATH
133
133
make -j4
134
134
make install
135
- popd
135
+ cd ..
136
136
touch hdf5-stamp
137
137
else
138
138
(cd hdf5-$HDF5_VERSION \
You can’t perform that action at this time.
0 commit comments