libhdf5: Bump to 1.12.2
This commit is contained in:
parent
e28bcd404e
commit
d9340ccfa4
|
@ -0,0 +1,76 @@
|
|||
--- a/CMakeInstallation.cmake
|
||||
+++ b/CMakeInstallation.cmake
|
||||
@@ -31,7 +31,7 @@
|
||||
if (HDF5_EXPORTED_TARGETS)
|
||||
install (
|
||||
EXPORT ${HDF5_EXPORTED_TARGETS}
|
||||
- DESTINATION ${HDF5_INSTALL_CMAKE_DIR}
|
||||
+ DESTINATION "lib/cmake"
|
||||
FILE ${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-targets.cmake
|
||||
NAMESPACE ${HDF_PACKAGE_NAMESPACE}
|
||||
COMPONENT configinstall
|
||||
@@ -67,12 +67,12 @@
|
||||
# Configure the hdf5-config.cmake file for the build directory
|
||||
#-----------------------------------------------------------------------------
|
||||
set (INCLUDE_INSTALL_DIR ${HDF5_INSTALL_INCLUDE_DIR})
|
||||
-set (SHARE_INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/${HDF5_INSTALL_CMAKE_DIR}" )
|
||||
+set (SHARE_INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/lib/cmake" )
|
||||
set (CURRENT_BUILD_DIR "${CMAKE_CURRENT_BINARY_DIR}" )
|
||||
configure_package_config_file (
|
||||
${HDF_RESOURCES_DIR}/hdf5-config.cmake.in
|
||||
"${HDF5_BINARY_DIR}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config.cmake"
|
||||
- INSTALL_DESTINATION "${HDF5_INSTALL_CMAKE_DIR}"
|
||||
+ INSTALL_DESTINATION "lib/cmake"
|
||||
PATH_VARS INCLUDE_INSTALL_DIR SHARE_INSTALL_DIR CURRENT_BUILD_DIR
|
||||
INSTALL_PREFIX "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
)
|
||||
@@ -81,19 +81,19 @@
|
||||
# Configure the hdf5-config.cmake file for the install directory
|
||||
#-----------------------------------------------------------------------------
|
||||
set (INCLUDE_INSTALL_DIR ${HDF5_INSTALL_INCLUDE_DIR})
|
||||
-set (SHARE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/${HDF5_INSTALL_CMAKE_DIR}" )
|
||||
+set (SHARE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib/cmake" )
|
||||
set (CURRENT_BUILD_DIR "${CMAKE_INSTALL_PREFIX}" )
|
||||
configure_package_config_file (
|
||||
${HDF_RESOURCES_DIR}/hdf5-config.cmake.in
|
||||
"${HDF5_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config.cmake"
|
||||
- INSTALL_DESTINATION "${HDF5_INSTALL_CMAKE_DIR}"
|
||||
+ INSTALL_DESTINATION "lib/cmake"
|
||||
PATH_VARS INCLUDE_INSTALL_DIR SHARE_INSTALL_DIR CURRENT_BUILD_DIR
|
||||
)
|
||||
|
||||
if (NOT HDF5_EXTERNALLY_CONFIGURED)
|
||||
install (
|
||||
FILES ${HDF5_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config.cmake
|
||||
- DESTINATION ${HDF5_INSTALL_CMAKE_DIR}
|
||||
+ DESTINATION "lib/cmake"
|
||||
COMPONENT configinstall
|
||||
)
|
||||
endif ()
|
||||
@@ -109,7 +109,7 @@
|
||||
)
|
||||
install (
|
||||
FILES ${HDF5_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config-version.cmake
|
||||
- DESTINATION ${HDF5_INSTALL_CMAKE_DIR}
|
||||
+ DESTINATION "lib/cmake"
|
||||
COMPONENT configinstall
|
||||
)
|
||||
endif ()
|
||||
@@ -195,7 +195,7 @@
|
||||
if (NOT HDF5_EXTERNALLY_CONFIGURED)
|
||||
install (
|
||||
FILES ${HDF5_SOURCE_DIR}/COPYING
|
||||
- DESTINATION ${HDF5_INSTALL_DATA_DIR}
|
||||
+ DESTINATION "share/doc/hdf5"
|
||||
COMPONENT hdfdocuments
|
||||
)
|
||||
if (EXISTS "${HDF5_SOURCE_DIR}/release_docs" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/release_docs")
|
||||
@@ -238,7 +238,7 @@
|
||||
endif ()
|
||||
install (
|
||||
FILES ${release_files}
|
||||
- DESTINATION ${HDF5_INSTALL_DATA_DIR}
|
||||
+ DESTINATION "share/doc/hdf5"
|
||||
COMPONENT hdfdocuments
|
||||
)
|
||||
endif ()
|
|
@ -1,88 +0,0 @@
|
|||
--- ./src/CMakeLists.txt.orig 2020-01-02 11:18:47.474641372 +0100
|
||||
+++ ./src/CMakeLists.txt 2020-01-02 11:24:43.115018551 +0100
|
||||
@@ -949,56 +949,14 @@
|
||||
${HDF5_SOURCE_DIR}/bin/batch/${HDF5_BATCH_H5DETECT_SCRIPT}.in.cmake
|
||||
${HDF5_BINARY_DIR}/${HDF5_BATCH_H5DETECT_SCRIPT} ESCAPE_QUOTES @ONLY
|
||||
)
|
||||
- add_custom_command (
|
||||
- OUTPUT ${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c
|
||||
- ${HDF5_GENERATED_SOURCE_DIR}/gen_SRCS.stamp1
|
||||
- COMMAND ${HDF5_BATCH_CMD}
|
||||
- ARGS ${HDF5_BINARY_DIR}/${HDF5_BATCH_H5DETECT_SCRIPT}
|
||||
- COMMAND ${CMAKE_COMMAND}
|
||||
- ARGS -E echo "Executed batch command to create H5Tinit.c"
|
||||
- COMMAND ${CMAKE_COMMAND}
|
||||
- ARGS -E touch ${HDF5_GENERATED_SOURCE_DIR}/gen_SRCS.stamp1
|
||||
- DEPENDS H5detect
|
||||
- WORKING_DIRECTORY ${HDF5_GENERATED_SOURCE_DIR}
|
||||
- )
|
||||
add_custom_target (gen_H5Tinit
|
||||
COMMAND ${CMAKE_COMMAND} -P ${HDF5_SOURCE_DIR}/config/cmake/wait_H5Tinit.cmake
|
||||
)
|
||||
if (BUILD_SHARED_LIBS)
|
||||
- add_custom_command (
|
||||
- OUTPUT ${HDF5_GENERATED_SOURCE_DIR}/shared/H5Tinit.c
|
||||
- ${HDF5_GENERATED_SOURCE_DIR}/shared/shared_gen_SRCS.stamp1
|
||||
- COMMAND ${CMAKE_COMMAND}
|
||||
- ARGS -E copy_if_different "${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c" "${HDF5_GENERATED_SOURCE_DIR}/shared/H5Tinit.c"
|
||||
- COMMAND ${CMAKE_COMMAND}
|
||||
- ARGS -E touch ${HDF5_GENERATED_SOURCE_DIR}/shared/shared_gen_SRCS.stamp1
|
||||
- DEPENDS gen_H5Tinit ${HDF5_GENERATED_SOURCE_DIR}/H5Tinit_created
|
||||
- WORKING_DIRECTORY ${HDF5_GENERATED_SOURCE_DIR}
|
||||
- )
|
||||
set_source_files_properties (${HDF5_GENERATED_SOURCE_DIR}/shared/H5Tinit.c PROPERTIES GENERATED TRUE)
|
||||
endif ()
|
||||
else ()
|
||||
- add_custom_command (
|
||||
- OUTPUT ${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c
|
||||
- ${HDF5_GENERATED_SOURCE_DIR}/gen_SRCS.stamp1
|
||||
- COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:H5detect>
|
||||
- ARGS ${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c
|
||||
- COMMAND ${CMAKE_COMMAND}
|
||||
- ARGS -E touch ${HDF5_GENERATED_SOURCE_DIR}/gen_SRCS.stamp1
|
||||
- DEPENDS H5detect
|
||||
- WORKING_DIRECTORY ${HDF5_GENERATED_SOURCE_DIR}
|
||||
- )
|
||||
if (BUILD_SHARED_LIBS)
|
||||
- add_custom_command (
|
||||
- OUTPUT ${HDF5_GENERATED_SOURCE_DIR}/shared/H5Tinit.c
|
||||
- ${HDF5_GENERATED_SOURCE_DIR}/shared/shared_gen_SRCS.stamp1
|
||||
- COMMAND ${CMAKE_COMMAND}
|
||||
- ARGS -E copy_if_different "${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c" "${HDF5_GENERATED_SOURCE_DIR}/shared/H5Tinit.c"
|
||||
- COMMAND ${CMAKE_COMMAND}
|
||||
- ARGS -E touch ${HDF5_GENERATED_SOURCE_DIR}/shared/shared_gen_SRCS.stamp1
|
||||
- DEPENDS ${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c
|
||||
- WORKING_DIRECTORY ${HDF5_GENERATED_SOURCE_DIR}
|
||||
- )
|
||||
set_source_files_properties (${HDF5_GENERATED_SOURCE_DIR}/shared/H5Tinit.c PROPERTIES GENERATED TRUE)
|
||||
endif ()
|
||||
endif ()
|
||||
@@ -1034,28 +992,8 @@
|
||||
PRIVATE $<$<PLATFORM_ID:Emscripten>:"-O0">
|
||||
)
|
||||
|
||||
-add_custom_command (
|
||||
- OUTPUT ${HDF5_BINARY_DIR}/H5lib_settings.c
|
||||
- ${HDF5_BINARY_DIR}/gen_SRCS.stamp2
|
||||
- COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:H5make_libsettings>
|
||||
- ARGS ${HDF5_BINARY_DIR}/H5lib_settings.c
|
||||
- COMMAND ${CMAKE_COMMAND}
|
||||
- ARGS -E touch ${HDF5_GENERATED_SOURCE_DIR}/gen_SRCS.stamp2
|
||||
- DEPENDS H5make_libsettings
|
||||
- WORKING_DIRECTORY ${HDF5_BINARY_DIR}
|
||||
-)
|
||||
set_source_files_properties (${HDF5_BINARY_DIR}/H5lib_settings.c PROPERTIES GENERATED TRUE)
|
||||
if (BUILD_SHARED_LIBS)
|
||||
- add_custom_command (
|
||||
- OUTPUT ${HDF5_BINARY_DIR}/shared/H5lib_settings.c
|
||||
- ${HDF5_BINARY_DIR}/shared/shared_gen_SRCS.stamp2
|
||||
- COMMAND ${CMAKE_COMMAND}
|
||||
- ARGS -E copy_if_different "${HDF5_BINARY_DIR}/H5lib_settings.c" "${HDF5_BINARY_DIR}/shared/H5lib_settings.c"
|
||||
- COMMAND ${CMAKE_COMMAND}
|
||||
- ARGS -E touch ${HDF5_GENERATED_SOURCE_DIR}/shared/shared_gen_SRCS.stamp2
|
||||
- DEPENDS ${HDF5_BINARY_DIR}/H5lib_settings.c
|
||||
- WORKING_DIRECTORY ${HDF5_BINARY_DIR}
|
||||
- )
|
||||
set_source_files_properties (${HDF5_BINARY_DIR}/shared/H5lib_settings.c PROPERTIES GENERATED TRUE)
|
||||
endif ()
|
||||
|
|
@ -10,12 +10,12 @@
|
|||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
* terms governing use, modification, and redistribution, is contained in *
|
||||
* the COPYING file, which can be found at the root of the source code *
|
||||
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
|
||||
* distribution tree, or in https://www.hdfgroup.org/licenses. *
|
||||
* If you do not have access to either file, you may request a copy from *
|
||||
* help@hdfgroup.org. *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Created: Apr 20, 2019
|
||||
* u0_a172@localhost
|
||||
* Created: Nov 14, 2022
|
||||
* u0_a101@localhost
|
||||
*
|
||||
* Purpose: This machine-generated source code contains
|
||||
* information about the various integer and
|
||||
|
@ -954,11 +954,12 @@ H5T__init_native(void)
|
|||
/* Set the native order for this machine */
|
||||
H5T_native_order_g = H5T_ORDER_LE;
|
||||
|
||||
/* Structure alignment for pointers, hvl_t, hobj_ref_t, hdset_reg_ref_t */
|
||||
/* Structure alignment for pointers, vlen and reference types */
|
||||
H5T_POINTER_COMP_ALIGN_g = 8;
|
||||
H5T_HVL_COMP_ALIGN_g = 8;
|
||||
H5T_HOBJREF_COMP_ALIGN_g = 8;
|
||||
H5T_HDSETREGREF_COMP_ALIGN_g = 1;
|
||||
H5T_REF_COMP_ALIGN_g = 8;
|
||||
|
||||
done:
|
||||
if(ret_value < 0) {
|
||||
|
|
|
@ -10,12 +10,12 @@
|
|||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
* terms governing use, modification, and redistribution, is contained in *
|
||||
* the COPYING file, which can be found at the root of the source code *
|
||||
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
|
||||
* distribution tree, or in https://www.hdfgroup.org/licenses. *
|
||||
* If you do not have access to either file, you may request a copy from *
|
||||
* help@hdfgroup.org. *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Created: Apr 20, 2019
|
||||
* u0_a172@localhost
|
||||
* Created: Nov 14, 2022
|
||||
* u0_a101@localhost
|
||||
*
|
||||
* Purpose: This machine-generated source code contains
|
||||
* information about the library build configuration
|
||||
|
@ -34,27 +34,27 @@ char H5libhdf5_settings[]=
|
|||
"\n"
|
||||
"General Information:\n"
|
||||
"-------------------\n"
|
||||
" HDF5 Version: 1.10.5\n"
|
||||
" Configured on: 2019-04-20\n"
|
||||
" HDF5 Version: 1.12.2\n"
|
||||
" Configured on: 2022-11-14\n"
|
||||
" Configured by: Unix Makefiles\n"
|
||||
" Host system: Linux-4.4.111-SoLdieR9312\n"
|
||||
" Uname information: Linux\n"
|
||||
" Host system: Android-4.9.82-perf+\n"
|
||||
" Uname information: Android\n"
|
||||
" Byte sex: little-endian\n"
|
||||
" Installation point: /data/data/com.termux/files/usr\n"
|
||||
"\n"
|
||||
"Compiling Options:\n"
|
||||
"------------------\n"
|
||||
" Build Mode: RelWithDebInfo\n"
|
||||
" Debugging Symbols: \n"
|
||||
" Asserts: \n"
|
||||
" Profiling: \n"
|
||||
" Optimization Level: \n"
|
||||
" Build Mode: Release\n"
|
||||
" Debugging Symbols: OFF\n"
|
||||
" Asserts: OFF\n"
|
||||
" Profiling: OFF\n"
|
||||
" Optimization Level: OFF\n"
|
||||
"\n"
|
||||
"Linking Options:\n"
|
||||
"----------------\n"
|
||||
" Libraries: \n"
|
||||
" Statically Linked Executables: OFF\n"
|
||||
" LDFLAGS: \n"
|
||||
" LDFLAGS: -Wl,--as-needed -L/data/data/com.termux/files/usr/lib\n"
|
||||
" H5_LDFLAGS: \n"
|
||||
" AM_LDFLAGS: \n"
|
||||
" Extra libraries: m;dl\n"
|
||||
|
@ -63,13 +63,13 @@ char H5libhdf5_settings[]=
|
|||
"\n"
|
||||
"Languages:\n"
|
||||
"----------\n"
|
||||
" C: yes\n"
|
||||
" C Compiler: /data/data/com.termux/files/usr/bin/cc 8.0.0\n"
|
||||
" C: YES\n"
|
||||
" C Compiler: /data/data/com.termux/files/usr/bin/clang 15.0.3\n"
|
||||
" CPPFLAGS: \n"
|
||||
" H5_CPPFLAGS: \n"
|
||||
" AM_CPPFLAGS: \n"
|
||||
" CFLAGS: -std=c99 \n"
|
||||
" H5_CFLAGS: \n"
|
||||
" CFLAGS: -std=c99 -Oz -fstack-protector-strong -I/data/data/com.termux/files/usr/include\n"
|
||||
" H5_CFLAGS: -Wall;-Warray-bounds;-Wcast-qual;-Wconversion;-Wdouble-promotion;-Wextra;-Wformat=2;-Wframe-larger-than=16384;-Wimplicit-fallthrough;-Wnull-dereference;-Wunused-const-variable;-Wwrite-strings;-Wpedantic;-Wvolatile-register-var;-Wno-c++-compat;-Wbad-function-cast;-Wimplicit-function-declaration;-Wincompatible-pointer-types;-Wmissing-declarations;-Wpacked;-Wshadow;-Wswitch;-Wno-error=incompatible-pointer-types-discards-qualifiers;-Wunused-function;-Wunused-variable;-Wunused-parameter;-Wcast-align;-Wformat;-Wno-missing-noreturn\n"
|
||||
" AM_CFLAGS: \n"
|
||||
" Shared C Library: YES\n"
|
||||
" Static C Library: YES\n"
|
||||
|
@ -83,35 +83,43 @@ char H5libhdf5_settings[]=
|
|||
" Static Fortran Library: YES\n"
|
||||
"\n"
|
||||
" C++: ON\n"
|
||||
" C++ Compiler: /data/data/com.termux/files/usr/bin/c++ 8.0.0\n"
|
||||
" C++ Flags: \n"
|
||||
" H5 C++ Flags: \n"
|
||||
" C++ Compiler: /data/data/com.termux/files/usr/bin/clang++ 15.0.3\n"
|
||||
" C++ Flags: -Oz -fstack-protector-strong -I/data/data/com.termux/files/usr/include\n"
|
||||
" H5 C++ Flags: -Wall;-Warray-bounds;-Wcast-qual;-Wconversion;-Wdouble-promotion;-Wextra;-Wformat=2;-Wframe-larger-than=16384;-Wimplicit-fallthrough;-Wnull-dereference;-Wunused-const-variable;-Wwrite-strings;-Wpedantic;-Wvolatile-register-var;-Wno-c++-compat;-Wno-missing-noreturn\n"
|
||||
" AM C++ Flags: \n"
|
||||
" Shared C++ Library: YES\n"
|
||||
" Static C++ Library: YES\n"
|
||||
"\n"
|
||||
" JAVA: OFF\n"
|
||||
" JAVA Compiler: \n"
|
||||
" JAVA Compiler: \n"
|
||||
"\n"
|
||||
"Features:\n"
|
||||
"---------\n"
|
||||
" Parallel HDF5: OFF\n"
|
||||
"Parallel Filtered Dataset Writes: \n"
|
||||
" Large Parallel I/O: \n"
|
||||
" High-level library: ON\n"
|
||||
" Threadsafety: OFF\n"
|
||||
" Default API mapping: v110\n"
|
||||
" With deprecated public symbols: ON\n"
|
||||
" I/O filters (external): \n"
|
||||
" MPE: \n"
|
||||
" Direct VFD: \n"
|
||||
" dmalloc: \n"
|
||||
" Packages w/ extra debug output: \n"
|
||||
" API Tracing: OFF\n"
|
||||
" Using memory checker: OFF\n"
|
||||
" Memory allocation sanity checks: OFF\n"
|
||||
" Function Stack Tracing: OFF\n"
|
||||
" Strict File Format Checks: OFF\n"
|
||||
" Optimization Instrumentation: \n"
|
||||
" Parallel HDF5: OFF\n"
|
||||
" Parallel Filtered Dataset Writes: \n"
|
||||
" Large Parallel I/O: \n"
|
||||
" High-level library: ON\n"
|
||||
"Dimension scales w/ new references: \n"
|
||||
" Build HDF5 Tests: OFF\n"
|
||||
" Build HDF5 Tools: ON\n"
|
||||
" Build High-level HDF5 Tools: ON\n"
|
||||
" Threadsafety: OFF\n"
|
||||
" Default API mapping: v112\n"
|
||||
" With deprecated public symbols: ON\n"
|
||||
" I/O filters (external): DEFLATE\n"
|
||||
" MPE: \n"
|
||||
" Direct VFD: \n"
|
||||
" Mirror VFD: \n"
|
||||
" (Read-Only) S3 VFD: \n"
|
||||
" (Read-Only) HDFS VFD: \n"
|
||||
" dmalloc: \n"
|
||||
" Packages w/ extra debug output: \n"
|
||||
" API Tracing: OFF\n"
|
||||
" Using memory checker: OFF\n"
|
||||
" Memory allocation sanity checks: OFF\n"
|
||||
" Function Stack Tracing: OFF\n"
|
||||
" Use file locking: best-effort\n"
|
||||
" Strict File Format Checks: OFF\n"
|
||||
" Optimization Instrumentation: \n"
|
||||
;
|
||||
|
||||
|
|
|
@ -58,6 +58,33 @@ set( H5_PRINTF_LL_TEST_RUN__TRYRUN_OUTPUT
|
|||
CACHE STRING "Output from TRY_RUN" FORCE)
|
||||
|
||||
|
||||
# RUN_RESULT_VAR
|
||||
# indicates whether the executable would have been able to run on its
|
||||
# target platform. If so, set RUN_RESULT_VAR to
|
||||
# the exit code (in many cases 0 for success), otherwise enter "FAILED_TO_RUN".
|
||||
# RUN_RESULT_VAR__TRYRUN_OUTPUT
|
||||
# contains the text the executable would have printed on stdout and stderr.
|
||||
# If the executable would not have been able to run, set RUN_RESULT_VAR__TRYRUN_OUTPUT empty.
|
||||
# Otherwise check if the output is evaluated by the calling CMake code. If so,
|
||||
# check what the source file would have printed when called with the given arguments.
|
||||
# The COMPILE_RESULT_VAR variable holds the build result for this try_run().
|
||||
#
|
||||
# Source file : /home/builder/.termux-build/libhdf5/build/CMakeFiles/CMakeTmp/testCCompiler1.c
|
||||
# Executable : /home/builder/.termux-build/libhdf5/build/CMakeFiles/cmTC_b3a46-RUN_RESULT_VAR
|
||||
# Run arguments :
|
||||
# Called from: [3] /home/builder/.termux-build/libhdf5/src/hdf5-1.12.2/config/cmake/ConfigureChecks.cmake
|
||||
# [2] /home/builder/.termux-build/libhdf5/src/hdf5-1.12.2/config/cmake/ConfigureChecks.cmake
|
||||
# [1] /home/builder/.termux-build/libhdf5/src/hdf5-1.12.2/CMakeLists.txt
|
||||
|
||||
set( RUN_RESULT_VAR
|
||||
"0"
|
||||
CACHE STRING "Result from try_run" FORCE)
|
||||
|
||||
set( RUN_RESULT_VAR__TRYRUN_OUTPUT
|
||||
""
|
||||
CACHE STRING "Output from try_run" FORCE)
|
||||
|
||||
|
||||
# H5_LDOUBLE_TO_LONG_SPECIAL_RUN
|
||||
# indicates whether the executable would have been able to run on its
|
||||
# target platform. If so, set H5_LDOUBLE_TO_LONG_SPECIAL_RUN to
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
* terms governing use, modification, and redistribution, is contained in *
|
||||
* the COPYING file, which can be found at the root of the source code *
|
||||
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
|
||||
* distribution tree, or in https://www.hdfgroup.org/licenses. *
|
||||
* If you do not have access to either file, you may request a copy from *
|
||||
* help@hdfgroup.org. *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
|
@ -938,11 +938,12 @@ H5T__init_native(void)
|
|||
/* Set the native order for this machine */
|
||||
H5T_native_order_g = H5T_ORDER_LE;
|
||||
|
||||
/* Structure alignment for pointers, hvl_t, hobj_ref_t, hdset_reg_ref_t */
|
||||
/* Structure alignment for pointers, vlen and reference types */
|
||||
H5T_POINTER_COMP_ALIGN_g = 4;
|
||||
H5T_HVL_COMP_ALIGN_g = 4;
|
||||
H5T_HOBJREF_COMP_ALIGN_g = 8;
|
||||
H5T_HDSETREGREF_COMP_ALIGN_g = 1;
|
||||
H5T_REF_COMP_ALIGN_g = 8;
|
||||
|
||||
done:
|
||||
if(ret_value < 0) {
|
||||
|
|
|
@ -1,117 +0,0 @@
|
|||
/* Generated automatically by H5make_libsettings -- do not edit */
|
||||
|
||||
|
||||
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
* terms governing use, modification, and redistribution, is contained in *
|
||||
* the COPYING file, which can be found at the root of the source code *
|
||||
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
|
||||
* If you do not have access to either file, you may request a copy from *
|
||||
* help@hdfgroup.org. *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Created: Apr 20, 2019
|
||||
* * <u0_a100@localhost>
|
||||
*
|
||||
* Purpose: This machine-generated source code contains
|
||||
* information about the library build configuration
|
||||
*
|
||||
* Modifications:
|
||||
*
|
||||
* DO NOT MAKE MODIFICATIONS TO THIS FILE!
|
||||
* It was generated by code in `H5make_libsettings.c'.
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
char H5libhdf5_settings[]=
|
||||
" SUMMARY OF THE HDF5 CONFIGURATION\n"
|
||||
" =================================\n"
|
||||
"\n"
|
||||
"General Information:\n"
|
||||
"-------------------\n"
|
||||
" HDF5 Version: 1.10.5\n"
|
||||
" Configured on: 2019-04-20\n"
|
||||
" Configured by: Unix Makefiles\n"
|
||||
" Host system: Linux-3.4.113-g93bd523\n"
|
||||
" Uname information: Linux\n"
|
||||
" Byte sex: little-endian\n"
|
||||
" Installation point: /data/data/com.termux/files/usr\n"
|
||||
"\n"
|
||||
"Compiling Options:\n"
|
||||
"------------------\n"
|
||||
" Build Mode: RelWithDebInfo\n"
|
||||
" Debugging Symbols: \n"
|
||||
" Asserts: \n"
|
||||
" Profiling: \n"
|
||||
" Optimization Level: \n"
|
||||
"\n"
|
||||
"Linking Options:\n"
|
||||
"----------------\n"
|
||||
" Libraries: \n"
|
||||
" Statically Linked Executables: OFF\n"
|
||||
" LDFLAGS: \n"
|
||||
" H5_LDFLAGS: \n"
|
||||
" AM_LDFLAGS: \n"
|
||||
" Extra libraries: m;dl\n"
|
||||
" Archiver: /data/data/com.termux/files/usr/bin/ar\n"
|
||||
" Ranlib: /data/data/com.termux/files/usr/bin/ranlib\n"
|
||||
"\n"
|
||||
"Languages:\n"
|
||||
"----------\n"
|
||||
" C: yes\n"
|
||||
" C Compiler: /data/data/com.termux/files/usr/bin/cc 8.0.0\n"
|
||||
" CPPFLAGS: \n"
|
||||
" H5_CPPFLAGS: \n"
|
||||
" AM_CPPFLAGS: \n"
|
||||
" CFLAGS: -std=c99 \n"
|
||||
" H5_CFLAGS: \n"
|
||||
" AM_CFLAGS: \n"
|
||||
" Shared C Library: YES\n"
|
||||
" Static C Library: YES\n"
|
||||
"\n"
|
||||
" Fortran: OFF\n"
|
||||
" Fortran Compiler: \n"
|
||||
" Fortran Flags: \n"
|
||||
" H5 Fortran Flags: \n"
|
||||
" AM Fortran Flags: \n"
|
||||
" Shared Fortran Library: YES\n"
|
||||
" Static Fortran Library: YES\n"
|
||||
"\n"
|
||||
" C++: ON\n"
|
||||
" C++ Compiler: /data/data/com.termux/files/usr/bin/c++ 8.0.0\n"
|
||||
" C++ Flags: \n"
|
||||
" H5 C++ Flags: \n"
|
||||
" AM C++ Flags: \n"
|
||||
" Shared C++ Library: YES\n"
|
||||
" Static C++ Library: YES\n"
|
||||
"\n"
|
||||
" JAVA: OFF\n"
|
||||
" JAVA Compiler: \n"
|
||||
"\n"
|
||||
"Features:\n"
|
||||
"---------\n"
|
||||
" Parallel HDF5: OFF\n"
|
||||
"Parallel Filtered Dataset Writes: \n"
|
||||
" Large Parallel I/O: \n"
|
||||
" High-level library: ON\n"
|
||||
" Threadsafety: OFF\n"
|
||||
" Default API mapping: v110\n"
|
||||
" With deprecated public symbols: ON\n"
|
||||
" I/O filters (external): \n"
|
||||
" MPE: \n"
|
||||
" Direct VFD: \n"
|
||||
" dmalloc: \n"
|
||||
" Packages w/ extra debug output: \n"
|
||||
" API Tracing: OFF\n"
|
||||
" Using memory checker: OFF\n"
|
||||
" Memory allocation sanity checks: OFF\n"
|
||||
" Function Stack Tracing: OFF\n"
|
||||
" Strict File Format Checks: OFF\n"
|
||||
" Optimization Instrumentation: \n"
|
||||
;
|
||||
|
|
@ -0,0 +1 @@
|
|||
../aarch64/H5lib_settings.c
|
|
@ -58,6 +58,33 @@ set( H5_PRINTF_LL_TEST_RUN__TRYRUN_OUTPUT
|
|||
CACHE STRING "Output from TRY_RUN" FORCE)
|
||||
|
||||
|
||||
# RUN_RESULT_VAR
|
||||
# indicates whether the executable would have been able to run on its
|
||||
# target platform. If so, set RUN_RESULT_VAR to
|
||||
# the exit code (in many cases 0 for success), otherwise enter "FAILED_TO_RUN".
|
||||
# RUN_RESULT_VAR__TRYRUN_OUTPUT
|
||||
# contains the text the executable would have printed on stdout and stderr.
|
||||
# If the executable would not have been able to run, set RUN_RESULT_VAR__TRYRUN_OUTPUT empty.
|
||||
# Otherwise check if the output is evaluated by the calling CMake code. If so,
|
||||
# check what the source file would have printed when called with the given arguments.
|
||||
# The COMPILE_RESULT_VAR variable holds the build result for this try_run().
|
||||
#
|
||||
# Source file : /home/builder/.termux-build/libhdf5/build/CMakeFiles/CMakeTmp/testCCompiler1.c
|
||||
# Executable : /home/builder/.termux-build/libhdf5/build/CMakeFiles/cmTC_b3a46-RUN_RESULT_VAR
|
||||
# Run arguments :
|
||||
# Called from: [3] /home/builder/.termux-build/libhdf5/src/hdf5-1.12.2/config/cmake/ConfigureChecks.cmake
|
||||
# [2] /home/builder/.termux-build/libhdf5/src/hdf5-1.12.2/config/cmake/ConfigureChecks.cmake
|
||||
# [1] /home/builder/.termux-build/libhdf5/src/hdf5-1.12.2/CMakeLists.txt
|
||||
|
||||
set( RUN_RESULT_VAR
|
||||
"0"
|
||||
CACHE STRING "Result from try_run" FORCE)
|
||||
|
||||
set( RUN_RESULT_VAR__TRYRUN_OUTPUT
|
||||
""
|
||||
CACHE STRING "Output from try_run" FORCE)
|
||||
|
||||
|
||||
# H5_LDOUBLE_TO_LONG_SPECIAL_RUN
|
||||
# indicates whether the executable would have been able to run on its
|
||||
# target platform. If so, set H5_LDOUBLE_TO_LONG_SPECIAL_RUN to
|
||||
|
|
|
@ -2,28 +2,36 @@ TERMUX_PKG_HOMEPAGE=https://portal.hdfgroup.org/display/support
|
|||
TERMUX_PKG_DESCRIPTION="Hierarchical Data Format 5 (HDF5)"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.12.0
|
||||
TERMUX_PKG_REVISION=6
|
||||
TERMUX_PKG_VERSION=1.12.2
|
||||
TERMUX_PKG_SRCURL=https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${TERMUX_PKG_VERSION:0:4}/hdf5-$TERMUX_PKG_VERSION/src/hdf5-$TERMUX_PKG_VERSION.tar.bz2
|
||||
TERMUX_PKG_SHA256=97906268640a6e9ce0cde703d5a71c9ac3092eded729591279bf2e3ca9765f61
|
||||
TERMUX_PKG_DEPENDS="libc++, libzopfli, zlib"
|
||||
TERMUX_PKG_SHA256=1a88bbe36213a2cea0c8397201a459643e7155c9dc91e062675b3fb07ee38afe
|
||||
TERMUX_PKG_DEPENDS="libc++, zlib"
|
||||
TERMUX_PKG_BREAKS="libhdf5-dev"
|
||||
TERMUX_PKG_REPLACES="libhdf5-dev"
|
||||
TERMUX_PKG_GROUPS="science"
|
||||
TERMUX_PKG_FORCE_CMAKE=true
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
-DHDF5_ENABLE_Z_LIB_SUPPORT=on
|
||||
-DHDF5_BUILD_CPP_LIB=ON
|
||||
-DHDF5_ENABLE_Z_LIB_SUPPORT=ON
|
||||
-C$TERMUX_PKG_BUILDER_DIR/$TERMUX_ARCH/TryRunResults_out.cmake
|
||||
"
|
||||
|
||||
termux_step_post_get_source() {
|
||||
local d="hdf5-${TERMUX_PKG_VERSION}"
|
||||
if [ -d "${d}" ]; then
|
||||
find "${d}" -mindepth 1 -maxdepth 1 -exec mv '{}' ./ \;
|
||||
rmdir "${d}"
|
||||
fi
|
||||
}
|
||||
|
||||
termux_step_pre_configure () {
|
||||
cp $TERMUX_PKG_BUILDER_DIR/$TERMUX_ARCH/{H5Tinit.c,H5lib_settings.c} $TERMUX_PKG_BUILDDIR/
|
||||
mkdir -p $TERMUX_PKG_BUILDDIR/shared/
|
||||
cp $TERMUX_PKG_BUILDER_DIR/$TERMUX_ARCH/{H5Tinit.c,H5lib_settings.c} $TERMUX_PKG_BUILDDIR/shared/
|
||||
touch $TERMUX_PKG_BUILDDIR/gen_SRCS.stamp1 $TERMUX_PKG_BUILDDIR/gen_SRCS.stamp2
|
||||
touch $TERMUX_PKG_BUILDDIR/shared/shared_gen_SRCS.stamp1 $TERMUX_PKG_BUILDDIR/shared/shared_gen_SRCS.stamp2
|
||||
mkdir -p $TERMUX_PKG_BUILDDIR/src/shared/
|
||||
cp $TERMUX_PKG_BUILDER_DIR/$TERMUX_ARCH/{H5Tinit.c,H5lib_settings.c} $TERMUX_PKG_BUILDDIR/src/
|
||||
cp $TERMUX_PKG_BUILDER_DIR/$TERMUX_ARCH/{H5Tinit.c,H5lib_settings.c} $TERMUX_PKG_BUILDDIR/src/shared/
|
||||
touch $TERMUX_PKG_BUILDDIR/src/gen_SRCS.stamp1 $TERMUX_PKG_BUILDDIR/src/gen_SRCS.stamp2
|
||||
touch $TERMUX_PKG_BUILDDIR/src/shared/shared_gen_SRCS.stamp1 $TERMUX_PKG_BUILDDIR/src/shared/shared_gen_SRCS.stamp2
|
||||
}
|
||||
|
||||
termux_step_post_configure () {
|
||||
cp $TERMUX_PKG_BUILDER_DIR/$TERMUX_ARCH/{H5Tinit.c,H5lib_settings.c} $TERMUX_PKG_BUILDDIR/shared/
|
||||
cp $TERMUX_PKG_BUILDER_DIR/$TERMUX_ARCH/{H5Tinit.c,H5lib_settings.c} $TERMUX_PKG_BUILDDIR/src/shared/
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
* terms governing use, modification, and redistribution, is contained in *
|
||||
* the COPYING file, which can be found at the root of the source code *
|
||||
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
|
||||
* distribution tree, or in https://www.hdfgroup.org/licenses. *
|
||||
* If you do not have access to either file, you may request a copy from *
|
||||
* help@hdfgroup.org. *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
|
@ -938,11 +938,12 @@ H5T__init_native(void)
|
|||
/* Set the native order for this machine */
|
||||
H5T_native_order_g = H5T_ORDER_LE;
|
||||
|
||||
/* Structure alignment for pointers, hvl_t, hobj_ref_t, hdset_reg_ref_t */
|
||||
/* Structure alignment for pointers, vlen and reference types */
|
||||
H5T_POINTER_COMP_ALIGN_g = 4;
|
||||
H5T_HVL_COMP_ALIGN_g = 4;
|
||||
H5T_HOBJREF_COMP_ALIGN_g = 4;
|
||||
H5T_HDSETREGREF_COMP_ALIGN_g = 1;
|
||||
H5T_REF_COMP_ALIGN_g = 4;
|
||||
|
||||
done:
|
||||
if(ret_value < 0) {
|
||||
|
|
|
@ -1,117 +0,0 @@
|
|||
/* Generated automatically by H5make_libsettings -- do not edit */
|
||||
|
||||
|
||||
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
* terms governing use, modification, and redistribution, is contained in *
|
||||
* the COPYING file, which can be found at the root of the source code *
|
||||
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
|
||||
* If you do not have access to either file, you may request a copy from *
|
||||
* help@hdfgroup.org. *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Created: Apr 20, 2019
|
||||
* * <u0_a71@localhost>
|
||||
*
|
||||
* Purpose: This machine-generated source code contains
|
||||
* information about the library build configuration
|
||||
*
|
||||
* Modifications:
|
||||
*
|
||||
* DO NOT MAKE MODIFICATIONS TO THIS FILE!
|
||||
* It was generated by code in `H5make_libsettings.c'.
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
char H5libhdf5_settings[]=
|
||||
" SUMMARY OF THE HDF5 CONFIGURATION\n"
|
||||
" =================================\n"
|
||||
"\n"
|
||||
"General Information:\n"
|
||||
"-------------------\n"
|
||||
" HDF5 Version: 1.10.5\n"
|
||||
" Configured on: 2019-04-20\n"
|
||||
" Configured by: Unix Makefiles\n"
|
||||
" Host system: Linux-4.9.95-android-x86-gd25a822a6c78\n"
|
||||
" Uname information: Linux\n"
|
||||
" Byte sex: little-endian\n"
|
||||
" Installation point: /data/data/com.termux/files/usr\n"
|
||||
"\n"
|
||||
"Compiling Options:\n"
|
||||
"------------------\n"
|
||||
" Build Mode: RelWithDebInfo\n"
|
||||
" Debugging Symbols: \n"
|
||||
" Asserts: \n"
|
||||
" Profiling: \n"
|
||||
" Optimization Level: \n"
|
||||
"\n"
|
||||
"Linking Options:\n"
|
||||
"----------------\n"
|
||||
" Libraries: \n"
|
||||
" Statically Linked Executables: OFF\n"
|
||||
" LDFLAGS: \n"
|
||||
" H5_LDFLAGS: \n"
|
||||
" AM_LDFLAGS: \n"
|
||||
" Extra libraries: m;dl\n"
|
||||
" Archiver: /data/data/com.termux/files/usr/bin/ar\n"
|
||||
" Ranlib: /data/data/com.termux/files/usr/bin/ranlib\n"
|
||||
"\n"
|
||||
"Languages:\n"
|
||||
"----------\n"
|
||||
" C: yes\n"
|
||||
" C Compiler: /data/data/com.termux/files/usr/bin/cc 7.0.0\n"
|
||||
" CPPFLAGS: \n"
|
||||
" H5_CPPFLAGS: \n"
|
||||
" AM_CPPFLAGS: \n"
|
||||
" CFLAGS: -std=c99 \n"
|
||||
" H5_CFLAGS: \n"
|
||||
" AM_CFLAGS: \n"
|
||||
" Shared C Library: YES\n"
|
||||
" Static C Library: YES\n"
|
||||
"\n"
|
||||
" Fortran: OFF\n"
|
||||
" Fortran Compiler: \n"
|
||||
" Fortran Flags: \n"
|
||||
" H5 Fortran Flags: \n"
|
||||
" AM Fortran Flags: \n"
|
||||
" Shared Fortran Library: YES\n"
|
||||
" Static Fortran Library: YES\n"
|
||||
"\n"
|
||||
" C++: ON\n"
|
||||
" C++ Compiler: /data/data/com.termux/files/usr/bin/c++ 7.0.0\n"
|
||||
" C++ Flags: \n"
|
||||
" H5 C++ Flags: \n"
|
||||
" AM C++ Flags: \n"
|
||||
" Shared C++ Library: YES\n"
|
||||
" Static C++ Library: YES\n"
|
||||
"\n"
|
||||
" JAVA: OFF\n"
|
||||
" JAVA Compiler: \n"
|
||||
"\n"
|
||||
"Features:\n"
|
||||
"---------\n"
|
||||
" Parallel HDF5: OFF\n"
|
||||
"Parallel Filtered Dataset Writes: \n"
|
||||
" Large Parallel I/O: \n"
|
||||
" High-level library: ON\n"
|
||||
" Threadsafety: OFF\n"
|
||||
" Default API mapping: v110\n"
|
||||
" With deprecated public symbols: ON\n"
|
||||
" I/O filters (external): \n"
|
||||
" MPE: \n"
|
||||
" Direct VFD: \n"
|
||||
" dmalloc: \n"
|
||||
" Packages w/ extra debug output: \n"
|
||||
" API Tracing: OFF\n"
|
||||
" Using memory checker: OFF\n"
|
||||
" Memory allocation sanity checks: OFF\n"
|
||||
" Function Stack Tracing: OFF\n"
|
||||
" Strict File Format Checks: OFF\n"
|
||||
" Optimization Instrumentation: \n"
|
||||
;
|
||||
|
|
@ -0,0 +1 @@
|
|||
../aarch64/H5lib_settings.c
|
|
@ -58,6 +58,33 @@ set( H5_PRINTF_LL_TEST_RUN__TRYRUN_OUTPUT
|
|||
CACHE STRING "Output from TRY_RUN" FORCE)
|
||||
|
||||
|
||||
# RUN_RESULT_VAR
|
||||
# indicates whether the executable would have been able to run on its
|
||||
# target platform. If so, set RUN_RESULT_VAR to
|
||||
# the exit code (in many cases 0 for success), otherwise enter "FAILED_TO_RUN".
|
||||
# RUN_RESULT_VAR__TRYRUN_OUTPUT
|
||||
# contains the text the executable would have printed on stdout and stderr.
|
||||
# If the executable would not have been able to run, set RUN_RESULT_VAR__TRYRUN_OUTPUT empty.
|
||||
# Otherwise check if the output is evaluated by the calling CMake code. If so,
|
||||
# check what the source file would have printed when called with the given arguments.
|
||||
# The COMPILE_RESULT_VAR variable holds the build result for this try_run().
|
||||
#
|
||||
# Source file : /home/builder/.termux-build/libhdf5/build/CMakeFiles/CMakeTmp/testCCompiler1.c
|
||||
# Executable : /home/builder/.termux-build/libhdf5/build/CMakeFiles/cmTC_b3a46-RUN_RESULT_VAR
|
||||
# Run arguments :
|
||||
# Called from: [3] /home/builder/.termux-build/libhdf5/src/hdf5-1.12.2/config/cmake/ConfigureChecks.cmake
|
||||
# [2] /home/builder/.termux-build/libhdf5/src/hdf5-1.12.2/config/cmake/ConfigureChecks.cmake
|
||||
# [1] /home/builder/.termux-build/libhdf5/src/hdf5-1.12.2/CMakeLists.txt
|
||||
|
||||
set( RUN_RESULT_VAR
|
||||
"0"
|
||||
CACHE STRING "Result from try_run" FORCE)
|
||||
|
||||
set( RUN_RESULT_VAR__TRYRUN_OUTPUT
|
||||
""
|
||||
CACHE STRING "Output from try_run" FORCE)
|
||||
|
||||
|
||||
# H5_LDOUBLE_TO_LONG_SPECIAL_RUN
|
||||
# indicates whether the executable would have been able to run on its
|
||||
# target platform. If so, set H5_LDOUBLE_TO_LONG_SPECIAL_RUN to
|
||||
|
|
|
@ -0,0 +1,79 @@
|
|||
--- ./src/CMakeLists.txt.orig 2020-01-02 11:18:47.474641372 +0100
|
||||
+++ ./src/CMakeLists.txt 2020-01-02 11:24:43.115018551 +0100
|
||||
@@ -1029,45 +1029,11 @@
|
||||
${HDF5_SOURCE_DIR}/bin/batch/${HDF5_BATCH_H5DETECT_SCRIPT}.in.cmake
|
||||
${HDF5_BINARY_DIR}/${HDF5_BATCH_H5DETECT_SCRIPT} ESCAPE_QUOTES @ONLY
|
||||
)
|
||||
- add_custom_command (
|
||||
- OUTPUT gen_SRCS.stamp1
|
||||
- BYPRODUCTS H5Tinit.c
|
||||
- COMMAND ${HDF5_BATCH_CMD}
|
||||
- ARGS ${HDF5_BINARY_DIR}/${HDF5_BATCH_H5DETECT_SCRIPT}
|
||||
- COMMAND ${CMAKE_COMMAND}
|
||||
- ARGS -E echo "Executed batch command to create H5Tinit.c"
|
||||
- COMMAND ${CMAKE_COMMAND}
|
||||
- ARGS -E touch gen_SRCS.stamp1
|
||||
- DEPENDS H5detect
|
||||
- WORKING_DIRECTORY ${HDF5_GENERATED_SOURCE_DIR}
|
||||
- )
|
||||
add_custom_target (gen_H5Tinit
|
||||
COMMAND ${CMAKE_COMMAND} -P ${HDF5_SOURCE_DIR}/config/cmake/wait_H5Tinit.cmake
|
||||
)
|
||||
else ()
|
||||
- add_custom_command (
|
||||
- OUTPUT gen_SRCS.stamp1
|
||||
- BYPRODUCTS H5Tinit.c
|
||||
- COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:H5detect>
|
||||
- ARGS H5Tinit.c
|
||||
- COMMAND ${CMAKE_COMMAND}
|
||||
- ARGS -E touch gen_SRCS.stamp1
|
||||
- DEPENDS H5detect
|
||||
- WORKING_DIRECTORY ${HDF5_GENERATED_SOURCE_DIR}
|
||||
- COMMENT "Create H5Tinit.c"
|
||||
- )
|
||||
if (BUILD_SHARED_LIBS)
|
||||
- add_custom_command (
|
||||
- OUTPUT shared/shared_gen_SRCS.stamp1
|
||||
- BYPRODUCTS shared/H5Tinit.c
|
||||
- COMMAND ${CMAKE_COMMAND}
|
||||
- ARGS -E copy_if_different H5Tinit.c shared/H5Tinit.c
|
||||
- COMMAND ${CMAKE_COMMAND}
|
||||
- ARGS -E touch shared/shared_gen_SRCS.stamp1
|
||||
- DEPENDS H5detect gen_SRCS.stamp1
|
||||
- WORKING_DIRECTORY ${HDF5_GENERATED_SOURCE_DIR}
|
||||
- COMMENT "Copy H5Tinit.c to shared folder"
|
||||
- )
|
||||
endif ()
|
||||
endif ()
|
||||
else ()
|
||||
@@ -1123,30 +1089,8 @@
|
||||
endif ()
|
||||
|
||||
# execute the H5make_libsettings program
|
||||
-add_custom_command (
|
||||
- OUTPUT gen_SRCS.stamp2
|
||||
- BYPRODUCTS H5lib_settings.c
|
||||
- COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:H5make_libsettings>
|
||||
- ARGS H5lib_settings.c
|
||||
- COMMAND ${CMAKE_COMMAND}
|
||||
- ARGS -E touch gen_SRCS.stamp2
|
||||
- DEPENDS H5make_libsettings
|
||||
- WORKING_DIRECTORY ${HDF5_SRC_BINARY_DIR}
|
||||
- COMMENT "Create H5lib_settings.c"
|
||||
-)
|
||||
set_source_files_properties (${HDF5_SRC_BINARY_DIR}/H5lib_settings.c PROPERTIES GENERATED TRUE)
|
||||
if (BUILD_SHARED_LIBS)
|
||||
- add_custom_command (
|
||||
- OUTPUT shared/shared_gen_SRCS.stamp2
|
||||
- BYPRODUCTS shared/H5lib_settings.c
|
||||
- COMMAND ${CMAKE_COMMAND}
|
||||
- ARGS -E copy_if_different H5lib_settings.c shared/H5lib_settings.c
|
||||
- COMMAND ${CMAKE_COMMAND}
|
||||
- ARGS -E touch shared/shared_gen_SRCS.stamp2
|
||||
- DEPENDS H5make_libsettings gen_SRCS.stamp2
|
||||
- WORKING_DIRECTORY ${HDF5_SRC_BINARY_DIR}
|
||||
- COMMENT "Copy H5lib_settings.c to shared folder"
|
||||
- )
|
||||
endif ()
|
||||
|
||||
## all_packages="AC,B,B2,D,F,FA,FL,FS,HL,I,O,S,ST,T,Z"
|
|
@ -10,7 +10,7 @@
|
|||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
* terms governing use, modification, and redistribution, is contained in *
|
||||
* the COPYING file, which can be found at the root of the source code *
|
||||
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
|
||||
* distribution tree, or in https://www.hdfgroup.org/licenses. *
|
||||
* If you do not have access to either file, you may request a copy from *
|
||||
* help@hdfgroup.org. *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
|
@ -954,11 +954,12 @@ H5T__init_native(void)
|
|||
/* Set the native order for this machine */
|
||||
H5T_native_order_g = H5T_ORDER_LE;
|
||||
|
||||
/* Structure alignment for pointers, hvl_t, hobj_ref_t, hdset_reg_ref_t */
|
||||
/* Structure alignment for pointers, vlen and reference types */
|
||||
H5T_POINTER_COMP_ALIGN_g = 8;
|
||||
H5T_HVL_COMP_ALIGN_g = 8;
|
||||
H5T_HOBJREF_COMP_ALIGN_g = 8;
|
||||
H5T_HDSETREGREF_COMP_ALIGN_g = 1;
|
||||
H5T_REF_COMP_ALIGN_g = 8;
|
||||
|
||||
done:
|
||||
if(ret_value < 0) {
|
||||
|
|
|
@ -1,117 +0,0 @@
|
|||
/* Generated automatically by H5make_libsettings -- do not edit */
|
||||
|
||||
|
||||
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Copyright by The HDF Group. *
|
||||
* Copyright by the Board of Trustees of the University of Illinois. *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
||||
* terms governing use, modification, and redistribution, is contained in *
|
||||
* the COPYING file, which can be found at the root of the source code *
|
||||
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
|
||||
* If you do not have access to either file, you may request a copy from *
|
||||
* help@hdfgroup.org. *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* Created: Apr 20, 2019
|
||||
* u0_a70@localhost
|
||||
*
|
||||
* Purpose: This machine-generated source code contains
|
||||
* information about the library build configuration
|
||||
*
|
||||
* Modifications:
|
||||
*
|
||||
* DO NOT MAKE MODIFICATIONS TO THIS FILE!
|
||||
* It was generated by code in `H5make_libsettings.c'.
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
char H5libhdf5_settings[]=
|
||||
" SUMMARY OF THE HDF5 CONFIGURATION\n"
|
||||
" =================================\n"
|
||||
"\n"
|
||||
"General Information:\n"
|
||||
"-------------------\n"
|
||||
" HDF5 Version: 1.10.5\n"
|
||||
" Configured on: 2019-04-20\n"
|
||||
" Configured by: Unix Makefiles\n"
|
||||
" Host system: Linux-4.9.95-android-x86_64-gd25a822a6c78\n"
|
||||
" Uname information: Linux\n"
|
||||
" Byte sex: little-endian\n"
|
||||
" Installation point: /data/data/com.termux/files/usr\n"
|
||||
"\n"
|
||||
"Compiling Options:\n"
|
||||
"------------------\n"
|
||||
" Build Mode: RelWithDebInfo\n"
|
||||
" Debugging Symbols: \n"
|
||||
" Asserts: \n"
|
||||
" Profiling: \n"
|
||||
" Optimization Level: \n"
|
||||
"\n"
|
||||
"Linking Options:\n"
|
||||
"----------------\n"
|
||||
" Libraries: \n"
|
||||
" Statically Linked Executables: OFF\n"
|
||||
" LDFLAGS: \n"
|
||||
" H5_LDFLAGS: \n"
|
||||
" AM_LDFLAGS: \n"
|
||||
" Extra libraries: m;dl\n"
|
||||
" Archiver: /data/data/com.termux/files/usr/bin/ar\n"
|
||||
" Ranlib: /data/data/com.termux/files/usr/bin/ranlib\n"
|
||||
"\n"
|
||||
"Languages:\n"
|
||||
"----------\n"
|
||||
" C: yes\n"
|
||||
" C Compiler: /data/data/com.termux/files/usr/bin/cc 7.0.0\n"
|
||||
" CPPFLAGS: \n"
|
||||
" H5_CPPFLAGS: \n"
|
||||
" AM_CPPFLAGS: \n"
|
||||
" CFLAGS: -std=c99 \n"
|
||||
" H5_CFLAGS: \n"
|
||||
" AM_CFLAGS: \n"
|
||||
" Shared C Library: YES\n"
|
||||
" Static C Library: YES\n"
|
||||
"\n"
|
||||
" Fortran: OFF\n"
|
||||
" Fortran Compiler: \n"
|
||||
" Fortran Flags: \n"
|
||||
" H5 Fortran Flags: \n"
|
||||
" AM Fortran Flags: \n"
|
||||
" Shared Fortran Library: YES\n"
|
||||
" Static Fortran Library: YES\n"
|
||||
"\n"
|
||||
" C++: ON\n"
|
||||
" C++ Compiler: /data/data/com.termux/files/usr/bin/c++ 7.0.0\n"
|
||||
" C++ Flags: \n"
|
||||
" H5 C++ Flags: \n"
|
||||
" AM C++ Flags: \n"
|
||||
" Shared C++ Library: YES\n"
|
||||
" Static C++ Library: YES\n"
|
||||
"\n"
|
||||
" JAVA: OFF\n"
|
||||
" JAVA Compiler: \n"
|
||||
"\n"
|
||||
"Features:\n"
|
||||
"---------\n"
|
||||
" Parallel HDF5: OFF\n"
|
||||
"Parallel Filtered Dataset Writes: \n"
|
||||
" Large Parallel I/O: \n"
|
||||
" High-level library: ON\n"
|
||||
" Threadsafety: OFF\n"
|
||||
" Default API mapping: v110\n"
|
||||
" With deprecated public symbols: ON\n"
|
||||
" I/O filters (external): \n"
|
||||
" MPE: \n"
|
||||
" Direct VFD: \n"
|
||||
" dmalloc: \n"
|
||||
" Packages w/ extra debug output: \n"
|
||||
" API Tracing: OFF\n"
|
||||
" Using memory checker: OFF\n"
|
||||
" Memory allocation sanity checks: OFF\n"
|
||||
" Function Stack Tracing: OFF\n"
|
||||
" Strict File Format Checks: OFF\n"
|
||||
" Optimization Instrumentation: \n"
|
||||
;
|
||||
|
|
@ -0,0 +1 @@
|
|||
../aarch64/H5lib_settings.c
|
|
@ -58,6 +58,33 @@ set( H5_PRINTF_LL_TEST_RUN__TRYRUN_OUTPUT
|
|||
CACHE STRING "Output from TRY_RUN" FORCE)
|
||||
|
||||
|
||||
# RUN_RESULT_VAR
|
||||
# indicates whether the executable would have been able to run on its
|
||||
# target platform. If so, set RUN_RESULT_VAR to
|
||||
# the exit code (in many cases 0 for success), otherwise enter "FAILED_TO_RUN".
|
||||
# RUN_RESULT_VAR__TRYRUN_OUTPUT
|
||||
# contains the text the executable would have printed on stdout and stderr.
|
||||
# If the executable would not have been able to run, set RUN_RESULT_VAR__TRYRUN_OUTPUT empty.
|
||||
# Otherwise check if the output is evaluated by the calling CMake code. If so,
|
||||
# check what the source file would have printed when called with the given arguments.
|
||||
# The COMPILE_RESULT_VAR variable holds the build result for this try_run().
|
||||
#
|
||||
# Source file : /home/builder/.termux-build/libhdf5/build/CMakeFiles/CMakeTmp/testCCompiler1.c
|
||||
# Executable : /home/builder/.termux-build/libhdf5/build/CMakeFiles/cmTC_b3a46-RUN_RESULT_VAR
|
||||
# Run arguments :
|
||||
# Called from: [3] /home/builder/.termux-build/libhdf5/src/hdf5-1.12.2/config/cmake/ConfigureChecks.cmake
|
||||
# [2] /home/builder/.termux-build/libhdf5/src/hdf5-1.12.2/config/cmake/ConfigureChecks.cmake
|
||||
# [1] /home/builder/.termux-build/libhdf5/src/hdf5-1.12.2/CMakeLists.txt
|
||||
|
||||
set( RUN_RESULT_VAR
|
||||
"0"
|
||||
CACHE STRING "Result from try_run" FORCE)
|
||||
|
||||
set( RUN_RESULT_VAR__TRYRUN_OUTPUT
|
||||
""
|
||||
CACHE STRING "Output from try_run" FORCE)
|
||||
|
||||
|
||||
# H5_LDOUBLE_TO_LONG_SPECIAL_RUN
|
||||
# indicates whether the executable would have been able to run on its
|
||||
# target platform. If so, set H5_LDOUBLE_TO_LONG_SPECIAL_RUN to
|
||||
|
|
Loading…
Reference in New Issue