-
-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hdf5 1 12 - Modify temporary rpath for testing in java example script…
…s. (#242) * Snapshot version 1.12 release 1-3. Update version to 1.12.1-4. * First cut of the H5 public API documentation. (#80) * First cut of the H5 public API documentation. * Added H5Z "bonus track." * Applied Quincey's patch. * Added the missing patches from Quincey's original patch. * H5PL (complete) and basic H5VL API documentation. * Added H5I API docs. * Added H5L API docs. * First installment from Elena's H5T batch. * Second installment of Elena's H5T batch. * Final installment of Elena's H5T batch. * Full set of current H5F documentation. (#105) * First cut of the H5 public API documentation. * Added H5Z "bonus track." * Applied Quincey's patch. * Added the missing patches from Quincey's original patch. * H5PL (complete) and basic H5VL API documentation. * Added H5I API docs. * Added H5L API docs. * First installment from Elena's H5T batch. * Second installment of Elena's H5T batch. * Final installment of Elena's H5T batch. * Migrated documentation for SWMR functions. * Catching up on MDC functions. * Integrated the H5F MDC function documentation. * Added MDC and parallel H5F functions. * Slightly updated main page. * Added doxygen/dox/H5AC_cache_config_t.dox to MANIFEST. * Doxygen - added (mostly) beginner functions (#112) * Doxygen - added (mostly) beginner functions * Removed duplicate H5Pset_szip function * Add src/H5module.h to MANIFEST. * close #195. (#196) * Update HDF5PluginMacros.cmake * Update HDF5PluginMacros.cmake * Avoid aligned access for references by decoding into temporary buffer and then copying the result into the actual buffer. Update test to be more thorough with using compound datatype fields everywhere. (#206) * Modify temporary rpath for testing in java example scripts. (#230) Co-authored-by: Gerd Heber <[email protected]> Co-authored-by: bljhdf <[email protected]> Co-authored-by: H. Joe Lee <[email protected]> Co-authored-by: Quincey Koziol <[email protected]>
- Loading branch information
1 parent
ce64336
commit ab2f404
Showing
4 changed files
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
top_builddir=@top_builddir@ | ||
top_srcdir=@top_srcdir@ | ||
srcdir=@srcdir@ | ||
IS_DARWIN="@H5_IS_DARWIN@" | ||
|
||
USE_FILTER_SZIP="@USE_FILTER_SZIP@" | ||
USE_FILTER_DEFLATE="@USE_FILTER_DEFLATE@" | ||
|
@@ -36,8 +37,8 @@ nerrors=0 | |
|
||
# where the libs exist | ||
HDFLIB_HOME="$top_srcdir/java/lib" | ||
BLDLIBDIR="$top_builddir/hdf5/lib" | ||
BLDDIR="." | ||
BLDLIBDIR="$BLDDIR/testlibs" | ||
HDFTEST_HOME="$top_srcdir/java/examples/datasets" | ||
JARFILE=jar@PACKAGE_TARNAME@-@[email protected] | ||
TESTJARFILE=jar@[email protected] | ||
|
@@ -113,6 +114,13 @@ COPY_LIBFILES_TO_BLDLIBDIR() | |
fi | ||
fi | ||
done | ||
if [ "$IS_DARWIN" = "yes" ]; then | ||
(cd $BLDLIBDIR; \ | ||
install_name_tool -add_rpath @loader_path libhdf5_java.dylib; \ | ||
exist_path=` otool -l libhdf5_java.dylib | grep libhdf5 | grep -v java | awk '{print $2}'`; \ | ||
echo $exist_path; \ | ||
install_name_tool -change $exist_path @rpath/libhdf5.dylib libhdf5_java.dylib) | ||
fi | ||
# copy jar files. Used -f to make sure get a new copy | ||
for tstfile in $COPY_JARTESTFILES | ||
do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
top_builddir=@top_builddir@ | ||
top_srcdir=@top_srcdir@ | ||
srcdir=@srcdir@ | ||
IS_DARWIN="@H5_IS_DARWIN@" | ||
|
||
TESTNAME=EX_Datatypes | ||
EXIT_SUCCESS=0 | ||
|
@@ -33,8 +34,8 @@ nerrors=0 | |
|
||
# where the libs exist | ||
HDFLIB_HOME="$top_srcdir/java/lib" | ||
BLDLIBDIR="$top_builddir/hdf5/lib" | ||
BLDDIR="." | ||
BLDLIBDIR="$BLDDIR/testlibs" | ||
HDFTEST_HOME="$top_srcdir/java/examples/datatypes" | ||
JARFILE=jar@PACKAGE_TARNAME@-@[email protected] | ||
TESTJARFILE=jar@[email protected] | ||
|
@@ -110,6 +111,13 @@ COPY_LIBFILES_TO_BLDLIBDIR() | |
fi | ||
fi | ||
done | ||
if [ "$IS_DARWIN" = "yes" ]; then | ||
(cd $BLDLIBDIR; \ | ||
install_name_tool -add_rpath @loader_path libhdf5_java.dylib; \ | ||
exist_path=` otool -l libhdf5_java.dylib | grep libhdf5 | grep -v java | awk '{print $2}'`; \ | ||
echo $exist_path; \ | ||
install_name_tool -change $exist_path @rpath/libhdf5.dylib libhdf5_java.dylib) | ||
fi | ||
# copy jar files. Used -f to make sure get a new copy | ||
for tstfile in $COPY_JARTESTFILES | ||
do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
top_builddir=@top_builddir@ | ||
top_srcdir=@top_srcdir@ | ||
srcdir=@srcdir@ | ||
IS_DARWIN="@H5_IS_DARWIN@" | ||
|
||
TESTNAME=EX_Groups | ||
EXIT_SUCCESS=0 | ||
|
@@ -33,9 +34,9 @@ nerrors=0 | |
|
||
# where the libs exist | ||
HDFLIB_HOME="$top_srcdir/java/lib" | ||
BLDLIBDIR="$top_builddir/hdf5/lib" | ||
BLDITERDIR="./groups" | ||
BLDDIR="." | ||
BLDLIBDIR="$BLDDIR/testlibs" | ||
BLDITERDIR="./groups" | ||
HDFTEST_HOME="$top_srcdir/java/examples/groups" | ||
JARFILE=jar@PACKAGE_TARNAME@-@[email protected] | ||
TESTJARFILE=jar@[email protected] | ||
|
@@ -105,6 +106,13 @@ COPY_LIBFILES_TO_BLDLIBDIR() | |
fi | ||
fi | ||
done | ||
if [ "$IS_DARWIN" = "yes" ]; then | ||
(cd $BLDLIBDIR; \ | ||
install_name_tool -add_rpath @loader_path libhdf5_java.dylib; \ | ||
exist_path=` otool -l libhdf5_java.dylib | grep libhdf5 | grep -v java | awk '{print $2}'`; \ | ||
echo $exist_path; \ | ||
install_name_tool -change $exist_path @rpath/libhdf5.dylib libhdf5_java.dylib) | ||
fi | ||
# copy jar files. Used -f to make sure get a new copy | ||
for tstfile in $COPY_JARTESTFILES | ||
do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
top_builddir=@top_builddir@ | ||
top_srcdir=@top_srcdir@ | ||
srcdir=@srcdir@ | ||
IS_DARWIN="@H5_IS_DARWIN@" | ||
|
||
TESTNAME=EX_Intro | ||
EXIT_SUCCESS=0 | ||
|
@@ -33,8 +34,8 @@ nerrors=0 | |
|
||
# where the libs exist | ||
HDFLIB_HOME="$top_srcdir/java/lib" | ||
BLDLIBDIR="$top_builddir/hdf5/lib" | ||
BLDDIR="." | ||
BLDLIBDIR="$BLDDIR/testlibs" | ||
HDFTEST_HOME="$top_srcdir/java/examples/intro" | ||
JARFILE=jar@PACKAGE_TARNAME@-@[email protected] | ||
TESTJARFILE=jar@[email protected] | ||
|
@@ -99,6 +100,13 @@ COPY_LIBFILES_TO_BLDLIBDIR() | |
fi | ||
fi | ||
done | ||
if [ "$IS_DARWIN" = "yes" ]; then | ||
(cd $BLDLIBDIR; \ | ||
install_name_tool -add_rpath @loader_path libhdf5_java.dylib; \ | ||
exist_path=` otool -l libhdf5_java.dylib | grep libhdf5 | grep -v java | awk '{print $2}'`; \ | ||
echo $exist_path; \ | ||
install_name_tool -change $exist_path @rpath/libhdf5.dylib libhdf5_java.dylib) | ||
fi | ||
# copy jar files. Used -f to make sure get a new copy | ||
for tstfile in $COPY_JARTESTFILES | ||
do | ||
|