mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
Merge pull request #245884 from svniemeijer/tiledb-avx2
This commit is contained in:
commit
0ee4c79acd
@ -17,6 +17,7 @@
|
||||
, gtest
|
||||
, doxygen
|
||||
, fixDarwinDylibNames
|
||||
, useAVX2 ? stdenv.hostPlatform.avx2Support
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -34,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
# unaccelerated routines.
|
||||
cmakeFlags = [
|
||||
"-DTILEDB_WERROR=0"
|
||||
];
|
||||
] ++ lib.optional (!useAVX2) "-DCOMPILER_SUPPORTS_AVX2=FALSE";
|
||||
|
||||
nativeBuildInputs = [
|
||||
clang-tools
|
||||
|
Loading…
Reference in New Issue
Block a user