7 Commits
Author SHA1 Message Date
H. Joe LeeandClaude Opus 5 61fbe139e8 Solaris: only pass SunPro -erroff to SunPro compilers (#6570)
On SunOS the C and C++ flag files appended the single string
"-erroff=%none -DBSD_COMP" to HDF5_CMAKE_C/CXX_FLAGS. Because that is one
list element, target_compile_options() hands it to the compiler as one
argument, and -erroff is an Oracle Developer Studio option to begin with.
gcc silently ignores the result (it parses the leading -e as the linker
entry-symbol option), but clang errors out:

  clang: error: unknown argument: '-erroff=%none -DBSD_COMP'

which breaks the build on the first object file. As a side effect,
-DBSD_COMP was never actually reaching the compiler as a define.

Emit -erroff=%none only for SunPro, and append -DBSD_COMP as its own list
element so it is passed as a separate argument on all Solaris compilers.

Fixes #6569

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-04 14:57:23 -05:00
jhendersonHDF 2952bb9216 Mark several CMake variables as advanced (#6321) 2026-03-27 11:30:23 -05:00
Alex Dutka a37ac086ae Simplify MPI configuration in CMake (#6145)
* Remove outdated MPI_CXX_FOUND check

* Remove redundant MPI_C_FOUND check
2026-03-10 07:07:59 -05:00
Allen Byrne b20352bc62 Re-enable java on windows arm CI (#5705)
* Re-enable java on windows arm CI
* Test fail in Debug mode on Windows - disabled to test in Release mode
* Disable compression libs - arm build issues
* Add debug /Gy flag
2025-08-12 12:17:39 -05:00
Allen Byrne 1ac5a40896 Remove invalid Warning option for OneAPI (#5706) 2025-08-08 08:53:14 -05:00
Allen Byrne df20da2979 Remove references to autotools options in documentation/comments (#5619) 2025-06-21 13:28:00 -05:00
Allen Byrne aa9784ea25 Refactor the config/cmake folder #5446 (#5540)
* Update config/examples/HDF5AsSubdirMacros.cmake
* Move f90 config file and remove m4 dir
2025-05-22 11:20:51 -05:00