symengine: fix build on aarch64-darwin
This commit is contained in:
parent
e5e1e1c705
commit
f57342d6ad
|
@ -33,6 +33,9 @@ stdenv.mkDerivation rec {
|
||||||
"-DWITH_SYMENGINE_THREAD_SAFE=yes"
|
"-DWITH_SYMENGINE_THREAD_SAFE=yes"
|
||||||
"-DWITH_MPC=yes"
|
"-DWITH_MPC=yes"
|
||||||
"-DBUILD_FOR_DISTRIBUTION=yes"
|
"-DBUILD_FOR_DISTRIBUTION=yes"
|
||||||
|
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
|
||||||
|
# error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?
|
||||||
|
"-DBUILD_TESTS=OFF"
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
Loading…
Reference in a new issue