summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/hdf5/files/0001-cross-compiling-support.patch23
-rw-r--r--meta-oe/recipes-support/hdf5/hdf5_1.8.21.bb (renamed from meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb)5
2 files changed, 12 insertions, 16 deletions
diff --git a/meta-oe/recipes-support/hdf5/files/0001-cross-compiling-support.patch b/meta-oe/recipes-support/hdf5/files/0001-cross-compiling-support.patch
index 97f16bbc0b..bdc1fa5f96 100644
--- a/meta-oe/recipes-support/hdf5/files/0001-cross-compiling-support.patch
+++ b/meta-oe/recipes-support/hdf5/files/0001-cross-compiling-support.patch
@@ -14,11 +14,9 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
14 src/CMakeLists.txt | 23 ----------------------- 14 src/CMakeLists.txt | 23 -----------------------
15 2 files changed, 6 insertions(+), 23 deletions(-) 15 2 files changed, 6 insertions(+), 23 deletions(-)
16 16
17diff --git a/CMakeLists.txt b/CMakeLists.txt
18index 08a65c4..9af14d5 100644
19--- a/CMakeLists.txt 17--- a/CMakeLists.txt
20+++ b/CMakeLists.txt 18+++ b/CMakeLists.txt
21@@ -817,4 +817,10 @@ endif () 19@@ -770,4 +770,10 @@ endif ()
22 #----------------------------------------------------------------------------- 20 #-----------------------------------------------------------------------------
23 configure_file (${HDF_RESOURCES_DIR}/H5pubconf.h.in ${HDF5_BINARY_DIR}/H5pubconf.h @ONLY) 21 configure_file (${HDF_RESOURCES_DIR}/H5pubconf.h.in ${HDF5_BINARY_DIR}/H5pubconf.h @ONLY)
24 22
@@ -29,22 +27,22 @@ index 08a65c4..9af14d5 100644
29+configure_file(H5lib_settings.c H5lib_settings.c COPYONLY) 27+configure_file(H5lib_settings.c H5lib_settings.c COPYONLY)
30+ 28+
31 include (CMakeInstallation.cmake) 29 include (CMakeInstallation.cmake)
32diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
33index d343208..d11525b 100644
34--- a/src/CMakeLists.txt 30--- a/src/CMakeLists.txt
35+++ b/src/CMakeLists.txt 31+++ b/src/CMakeLists.txt
36@@ -613,32 +613,9 @@ set (H5_PRIVATE_HEADERS 32@@ -613,36 +613,9 @@ set (H5_PRIVATE_HEADERS
37 #----------------------------------------------------------------------------- 33 #-----------------------------------------------------------------------------
38 add_executable (H5detect ${HDF5_SRC_DIR}/H5detect.c) 34 add_executable (H5detect ${HDF5_SRC_DIR}/H5detect.c)
39 TARGET_C_PROPERTIES (H5detect STATIC " " " ") 35 TARGET_C_PROPERTIES (H5detect STATIC " " " ")
40-if (MSVC OR MINGW) 36-if (MSVC OR MINGW)
41- target_link_libraries (H5detect "ws2_32.lib") 37- target_link_libraries (H5detect "ws2_32.lib")
42-endif () 38-endif ()
39-if (CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
40- set_property(TARGET H5detect PROPERTY LINK_FLAGS "-O0")
41-endif ()
43- 42-
44-set (CMD $<TARGET_FILE:H5detect>)
45-add_custom_command ( 43-add_custom_command (
46- OUTPUT ${HDF5_BINARY_DIR}/H5Tinit.c 44- OUTPUT ${HDF5_BINARY_DIR}/H5Tinit.c
47- COMMAND ${CMD} 45- COMMAND $<TARGET_FILE:H5detect>
48- ARGS > ${HDF5_BINARY_DIR}/H5Tinit.c 46- ARGS > ${HDF5_BINARY_DIR}/H5Tinit.c
49- DEPENDS H5detect 47- DEPENDS H5detect
50-) 48-)
@@ -54,11 +52,13 @@ index d343208..d11525b 100644
54-if (MSVC OR MINGW) 52-if (MSVC OR MINGW)
55- target_link_libraries (H5make_libsettings "ws2_32.lib") 53- target_link_libraries (H5make_libsettings "ws2_32.lib")
56-endif () 54-endif ()
55-if (CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
56- set_property(TARGET H5make_libsettings PROPERTY LINK_FLAGS "-O0")
57-endif ()
57- 58-
58-set (CMD $<TARGET_FILE:H5make_libsettings>)
59-add_custom_command ( 59-add_custom_command (
60- OUTPUT ${HDF5_BINARY_DIR}/H5lib_settings.c 60- OUTPUT ${HDF5_BINARY_DIR}/H5lib_settings.c
61- COMMAND ${CMD} 61- COMMAND $<TARGET_FILE:H5make_libsettings>
62- ARGS > ${HDF5_BINARY_DIR}/H5lib_settings.c 62- ARGS > ${HDF5_BINARY_DIR}/H5lib_settings.c
63- DEPENDS H5make_libsettings 63- DEPENDS H5make_libsettings
64- WORKING_DIRECTORY ${HDF5_BINARY_DIR} 64- WORKING_DIRECTORY ${HDF5_BINARY_DIR}
@@ -66,6 +66,3 @@ index d343208..d11525b 100644
66 66
67 if (GENERATE_ERROR_HEADERS) 67 if (GENERATE_ERROR_HEADERS)
68 find_package (Perl) 68 find_package (Perl)
69--
702.7.4
71
diff --git a/meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb b/meta-oe/recipes-support/hdf5/hdf5_1.8.21.bb
index fcbe9b0d62..9af2b67149 100644
--- a/meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb
+++ b/meta-oe/recipes-support/hdf5/hdf5_1.8.21.bb
@@ -16,9 +16,8 @@ SRC_URI = " \
16 file://0001-cross-compiling-support.patch \ 16 file://0001-cross-compiling-support.patch \
17 file://0002-Remove-suffix-shared-from-shared-library-name.patch \ 17 file://0002-Remove-suffix-shared-from-shared-library-name.patch \
18" 18"
19 19SRC_URI[md5sum] = "2d2408f2a9dfb5c7b79998002e9a90e9"
20SRC_URI[md5sum] = "6f0353ee33e99089c110a1c8d2dd1b22" 20SRC_URI[sha256sum] = "e5b1b1dee44a64b795a91c3321ab7196d9e0871fe50d42969761794e3899f40d"
21SRC_URI[sha256sum] = "59c03816105d57990329537ad1049ba22c2b8afe1890085f0c022b75f1727238"
22 21
23FILES_${PN} += "${libdir}/libhdf5.settings ${datadir}/*" 22FILES_${PN} += "${libdir}/libhdf5.settings ${datadir}/*"
24 23