mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
merve: add support for building without simdutf support
Required for Node.js 24.
(cherry picked from commit f9e1063171)
This commit is contained in:
parent
f56d408654
commit
38605ad23d
1 changed files with 3 additions and 5 deletions
|
|
@ -26,16 +26,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
cmakeFlags = [
|
||||
(lib.cmakeBool "BUILD_SHARED_LIBS" (!static))
|
||||
(lib.cmakeBool "MERVE_TESTING" finalAttrs.finalPackage.doCheck)
|
||||
(lib.cmakeBool "MERVE_USE_SIMDUTF" true)
|
||||
];
|
||||
]
|
||||
++ lib.optional (simdutf != null) (lib.cmakeBool "MERVE_USE_SIMDUTF" true);
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
validatePkgConfig
|
||||
];
|
||||
buildInputs = [
|
||||
simdutf
|
||||
];
|
||||
buildInputs = lib.optional (simdutf != null) simdutf;
|
||||
checkInputs = [
|
||||
gtest
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue