Repository navigation
cmake: exclude locale.hpp from source_group tree - #273
Conversation
| list(FILTER sources_src INCLUDE REGEX "^src/") | ||
| set(sources_inc ${sources}) | ||
| list(FILTER sources_inc EXCLUDE REGEX "^src/") | ||
| list(FILTER sources_inc EXCLUDE REGEX "locale\\.hpp$") |
There was a problem hiding this comment.
Thanks for the fix. Any reason to not use use e.g.
| list(FILTER sources_inc EXCLUDE REGEX "locale\\.hpp$") | |
| list(REMOVE_ITEM sources_inc "${CMAKE_CURRENT_SOURCE_DIR}/include/boost/locale.hpp") |
excluding anything that ends in locale.hpp is a bit too much as it could remove something like include/boost/locale/default_locale.hpp
One could also move the source_group("headers" FILES "include/boost/locale.hpp") directly below that removal to make the reason/logic clearer
There was a problem hiding this comment.
yeah ok this sounds better!
There was a problem hiding this comment.
updated with remove_item and moved source_group right below it
|
Looks like one of the tests failed due to a 60 minute timeout and are blocking the merge. Can you restart the tests/checks and try again? |
|
@ateepe as an outside contributor i don't have access to re-trigger or restart appveyor builds directly. all 50+ github actions, drone ci, and 17 of 18 appveyor matrix jobs passed (the single failure was the 60m worker timeout on the cygwin 64-bit runner). @Flamefire could you please restart the timed-out appveyor job or merge when you get a chance? thanks! |
|
I already restarted it twice. Still timeout so I'm splitting the job. I guess they moved those runners to slower machines |
Stress run 43947228208 (bfb510a) found arrow and arrow:source failing on every linux and macOS leg, duckdb on the Windows tree legs, and magick's link on windows-11-arm. Records: chore-release-11 PLAN.md findings 33-36. - CMake held at 4.4.5 (extras group's Kitware archives, r-zig-extras `cmake <4.5`, the stress feature): 4.5.0's source_group(TREE) breaks Boost 1.92.0's locale CMakeLists, which arrow 26.0.1 fetches (boostorg/locale#273) (finding 33). Lock: cmake 4.5.0 -> 4.4.5 in the stress env only. - The build-tools group carries m2-tar: duckdb's configure.win runs `tar xf`, and the stress env's tar, from a second MSYS2, exits 127 under the group's sh (finding 34). - rzig adds R_HOME/bin/toolchain/clear_cache.o to aarch64 Windows links: compiler-rt's __clear_cache (FlushInstructionCache), weak and not exported, which zig's compiler_rt leaves out there; libffi in magick's clang-aarch64 bundle calls it (finding 36). - stress: expect keys may name R's arch (windows-aarch64=, macos-x86_64=); the toolchain class takes __clear_cache and lld's addrsig error (finding 35); win-arm64 rows whose libraries conda-forge lacks are recorded; Rhtslib and Rsamtools are windows=fail-dependency (regex.h); DESeq2 windows=ok.
3c9899e committed only zigbuild/tools/rzig/clear_cache.c and clear_cache.zig; the changes that use them were staged but left out. This commit holds them. Stress run 44111538560 on 3c9899e repeated the failures of run 43947228208, as expected without these changes. - CMake held at 4.4.5 (extras group's Kitware archives, r-zig-extras `cmake <4.5`, the stress feature): 4.5.0's source_group(TREE) breaks Boost 1.92.0's locale CMakeLists, which arrow 26.0.1 fetches (boostorg/locale#273) (finding 33). Lock: cmake 4.5.0 -> 4.4.5 in the stress env only. - The build-tools group carries m2-tar: duckdb's configure.win runs `tar xf`, and the stress env's tar, from a second MSYS2, exits 127 under the group's sh (finding 34). - rzig adds R_HOME/bin/toolchain/clear_cache.o to aarch64 Windows links (finding 36); the recipe and test-preflight.R expect it. - stress: expect keys may name R's arch (windows-aarch64=, macos-x86_64=); the toolchain class takes __clear_cache and lld's addrsig error (finding 35); win-arm64 rows whose libraries conda-forge lacks are recorded; DESeq2 windows=ok.
This fixes a bug in Boost that prevents it from configuring with CMake 4.5.0.
This fixes a bug in Boost that prevents it from configuring with CMake 4.5.0.
This fixes a bug in Boost that prevents it from configuring with CMake 4.5.0.
…bility (#55749) ### Rationale for this change boostorg/boost#1162 is needed to build bundled boost 1.92 on CMake 4.5. ### What changes are included in this PR? Add patch to exclude `locale.hpp` from `source_group` tree in boost. - Apply boostorg/locale#273 because it's not included in a boost release yet. ### Are these changes tested? Yes, in CI ### Are there any user-facing changes? n/a ### Was AI used for this PR? In accordance to the [AI generation guidelines](https://arrow.apache.org/docs/dev/developers/overview.html#ai-generated-code), please disclose below whether and how AI was used in this PR. **PR code and description written by:** - [x] Human - [x] AI **Reviewed before submission by:** - [x] Human - [ ] AI - [ ] Not reviewed * GitHub Issue: #55710 Authored-by: Alina (Xi) Li <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
fixes boostorg/boost#1162