-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #199 from jakirkham/add_hdf5
Add HDF5
- Loading branch information
Showing
4 changed files
with
80 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
mkdir build | ||
cd build | ||
|
||
REM set environement variables | ||
set HDF5_EXT_ZLIB=zlib.lib | ||
|
||
REM configure step | ||
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE:STRING=RELEASE -DCMAKE_PREFIX_PATH=%LIBRARY_PREFIX% -DCMAKE_INSTALL_PREFIX:PATH=%LIBRARY_PREFIX% -DHDF5_BUILD_CPP_LIB=ON -DBUILD_SHARED_LIBS:BOOL=ON -DHDF5_BUILD_HL_LIB=ON -DHDF5_BUILD_TOOLS:BOOL=ON -DHDF5_ENABLE_Z_LIB_SUPPORT:BOOL=ON %SRC_DIR% | ||
if errorlevel 1 exit 1 | ||
|
||
REM Build C libraries and tools | ||
nmake | ||
if errorlevel 1 exit 1 | ||
|
||
REM Install step | ||
nmake install | ||
if errorlevel 1 exit 1 |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
./configure --prefix=$PREFIX \ | ||
--enable-linux-lfs --with-zlib \ | ||
--with-pthread=yes --enable-cxx --with-default-plugindir=$PREFIX/lib/hdf5/plugin | ||
|
||
make | ||
make check | ||
make install | ||
|
||
rm -rf $PREFIX/share/hdf5_examples |
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{% set version = "1.8.16" %} | ||
|
||
package: | ||
name: hdf5 | ||
version: {{ version }} | ||
|
||
source: | ||
fn: hdf5-{{version}}.tar.gz | ||
url: http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-{{version}}.tar.gz | ||
md5: b8ed9a36ae142317f88b0c7ef4b9c618 | ||
patches: | ||
- test_Makefile.in.patch | ||
|
||
build: | ||
features: | ||
- vc9 # [win and py27] | ||
- vc10 # [win and py34] | ||
- vc14 # [win and py35] | ||
detect_binary_files_with_prefix: True | ||
|
||
requirements: | ||
build: | ||
- python # [win] | ||
- cmake >=3.1 | ||
- zlib | ||
run: | ||
- zlib | ||
|
||
about: | ||
home: http://www.hdfgroup.org/HDF5/ | ||
license: HDF5 | ||
license_family: BSD | ||
license_file: COPYING | ||
summary: HDF5 is a data model, library, and file format for storing and managing data | ||
|
||
extra: | ||
recipe-maintainers: | ||
- jakirkham | ||
- rgrout |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git test/Makefile.in test/Makefile.in | ||
index 02ab570..f2b9889 100644 | ||
--- test/Makefile.in | ||
+++ test/Makefile.in | ||
@@ -1071,7 +1071,7 @@ check_SCRIPTS = $(TEST_SCRIPT) | ||
# These tests (fheap, btree2) are under development and are not used by | ||
# the library yet. Move them to the end so that their failure do not block | ||
# other current library code tests. | ||
-TEST_PROG = testhdf5 lheap ohdr stab gheap cache cache_api \ | ||
+TEST_PROG = testhdf5 lheap ohdr stab gheap cache_api \ | ||
pool accum hyperslab istore bittests dt_arith \ | ||
dtypes dsets cmpd_dset filter_fail extend external efc objcopy links unlink \ | ||
big mtime fillval mount flush1 flush2 app_ref enum \ |