Page MenuHomePhabricator

[SECP256K1] Disable ASM for native executables
ClosedPublic

Authored by Fabien on Mar 23 2020, 16:06.

Details

Summary

If the platforms is detected x86_64 and the ASM check fails, the native
executable will fail as well even if -DSECP256K1_USE_ASM=OFF is passed
to cmake. This diff disables the ASM for the native executables and get
rids of the issue.

Got the issue on FreeBSD 12.0.

Test Plan
ninja check

Build on FreeBSD 12.0.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
cmake_native_no_asm
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9932
Build 17723: Default Diff Build & Tests
Build 17722: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Mar 23 2020, 17:35