Improve build detect for RISCV#9366
Conversation
|
This looks like it might help - advancedtelematic/aktualizr#1427 |
|
Hi @adamretter, I might be misunderstanding something but is the change in cfeee6 what we want on s390x if I'm thinking mostly about the rocksdbjni build where I think we want to build with |
cf6eee6 to
f900156
Compare
|
@jonathan-albrecht-ibm Thanks, and good point! I have now removed that change from this PR. |
|
@jay-zhuang @mrambacher can we get this one merged please? |
|
@mrambacher has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
jay-zhuang
left a comment
There was a problem hiding this comment.
LGTM, thanks for the fix.
|
@adamretter has updated the pull request. You must reimport the pull request before landing. |
|
@mrambacher has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
UPDATED 20230208: The issue raised in the following comment is mitigated by https://gitlab.archlinux.org/archlinux/devtools/-/merge_requests/119 FYI: RISC-V has splitted its base However, I don't think these issues can be fixed soon. Currently, it is not possible to get the ISA of the machine for RISC-V using a distro-unaware way. For a specific distro like Arch Linux, one can use This inconsistency may not cause big problems, though, as the csr register is probably not useful for RocksDB, and the compiler might be able to work around the absent of Handling See also: https://lore.kernel.org/linux-riscv/Ym0+Erz5DEnB78vu@Sun/
|
Shouldn't revert until qemu-user has its `/proc/cpuinfo` fixed. Ref: facebook/rocksdb#9366
Shouldn't revert until qemu-user has its `/proc/cpuinfo` fixed. Ref: facebook/rocksdb#9366
Related to: #9215
This still leaves some linking issues on RISCV remaining (e.g. when building
db_test):