Archived
1
0
forked from rarias/bscpkgs

remove with lib from llvm-ompss2

This commit is contained in:
Aleix Boné 2025-09-15 11:27:46 +02:00
parent 2ffdd53d86
commit bbd9ec944b
No known key found for this signature in database

View File

@ -9,9 +9,9 @@
, ompss2rt ? null , ompss2rt ? null
}: }:
with lib;
let let
inherit (lib) assertMsg optional optionalString;
usingNodesAndOmpv = (openmp.pname == "openmp-v" && ompss2rt.pname == "nodes"); usingNodesAndOmpv = (openmp.pname == "openmp-v" && ompss2rt.pname == "nodes");
sameNosv = openmp.nosv == ompss2rt.nosv; sameNosv = openmp.nosv == ompss2rt.nosv;
in in
@ -36,7 +36,7 @@ let
targetConfig = stdenv.targetPlatform.config; targetConfig = stdenv.targetPlatform.config;
inherit gcc; inherit gcc;
cc = clangOmpss2Unwrapped; cc = clangOmpss2Unwrapped;
gccVersion = with versions; let v = gcc.version; in concatStringsSep "." [(major v) (minor v) (patch v)]; gccVersion = with lib.versions; let v = gcc.version; in concatStringsSep "." [(major v) (minor v) (patch v)];
in wrapCCWith { in wrapCCWith {
inherit cc bintools; inherit cc bintools;
# extraPackages adds packages to depsTargetTargetPropagated # extraPackages adds packages to depsTargetTargetPropagated