Repository navigation
cmake: make SIMD_COMPILE_FLAGS a list - #72657
Merged
Merged
Conversation
SIMD_COMPILE_FLAGS was built as a space-separated string with a leading space. Since d672829 it is passed to target_compile_options(), which quotes it as a single argument, so on riscv64 gcc sees " -march=rv64gcv_zbc_zvbc" as an input file and building crc32c.cc fails. Build it with list(APPEND) instead, and pass it to gf-complete_objs via target_compile_options() rather than the COMPILE_FLAGS string property. Signed-off-by: Sun Yuechi <[email protected]>
|
Thank you for your contribution. Since you are not yet a member of the Ceph organization with write permissions on ceph/ceph.git, our CI will not automatically run. Any member of the Ceph organization may label this PR |
tchaikov
approved these changes
Oct 14, 2026
tchaikov
left a comment
Contributor
There was a problem hiding this comment.
thanks for fixing this regression!
sunyuechi
added a commit
to sunyuechi/openRuyi
that referenced
this pull request
Oct 28, 2026
The new snapshot brings in these fixes: - osd/PeeringState: fix the divergence check against olog.head (ceph/ceph#70149) - osd: assert OI_ATTR is present in rollback_setattrs (ceph/ceph#70965) - osdc: fix ReplicaSplitOp chunk distribution, reassembly and small multi-op reads (ceph/ceph#70207) - erasure-code/isa: default the technique when the profile has none (ceph/ceph#72215) - mount.ceph: report kernels without aes256k key support (ceph/ceph#72159) - rgw/es: require both major and minor in the ES version (ceph/ceph#70007) - build: turn WITH_RADOSGW_LANCEDB off where lance cannot build (ceph/ceph#71935) - cmake: make SIMD_COMPILE_FLAGS a list (ceph/ceph#72657) - cmake/boost: do not pass context-impl to the headers step (ceph/ceph#71249) - rpm: let ceph-mgr-cephadm require routes (ceph/ceph#73051) - test/mds: widen result waits in ReleaseAwait (ceph/ceph#70463) - qa/lsan.supp: match OpenSSL error state on ERR_set_mark (ceph/ceph#71460) Signed-off-by: Sun Yuechi <[email protected]>
misaka00251
pushed a commit
to openRuyi-Project/openRuyi
that referenced
this pull request
Oct 28, 2026
The new snapshot brings in these fixes: - osd/PeeringState: fix the divergence check against olog.head (ceph/ceph#70149) - osd: assert OI_ATTR is present in rollback_setattrs (ceph/ceph#70965) - osdc: fix ReplicaSplitOp chunk distribution, reassembly and small multi-op reads (ceph/ceph#70207) - erasure-code/isa: default the technique when the profile has none (ceph/ceph#72215) - mount.ceph: report kernels without aes256k key support (ceph/ceph#72159) - rgw/es: require both major and minor in the ES version (ceph/ceph#70007) - build: turn WITH_RADOSGW_LANCEDB off where lance cannot build (ceph/ceph#71935) - cmake: make SIMD_COMPILE_FLAGS a list (ceph/ceph#72657) - cmake/boost: do not pass context-impl to the headers step (ceph/ceph#71249) - rpm: let ceph-mgr-cephadm require routes (ceph/ceph#73051) - test/mds: widen result waits in ReleaseAwait (ceph/ceph#70463) - qa/lsan.supp: match OpenSSL error state on ERR_set_mark (ceph/ceph#71460) Signed-off-by: Sun Yuechi <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SIMD_COMPILE_FLAGS is a space-separated string with a leading space.
Since d672829 ("cmake: use target_compile_options() for crc32 ASM
flags") it goes through target_compile_options(), which passes it as a
single argument, so on riscv64 gcc treats " -march=rv64gcv_zbc_zvbc" as
an input file and crc32c.cc fails to build.
Build it with list(APPEND), and switch gf-complete_objs from the
COMPILE_FLAGS property to target_compile_options() as well.
A CI failure on this: https://github.com/openRuyi-Project/ceph-ci/actions/runs/38427960758/job/115402270531
Checklist