|
|
|
@@ -15114,7 +15114,7 @@ with pkgs;
|
|
|
|
|
profiledCompiler = false;
|
|
|
|
|
|
|
|
|
|
libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null;
|
|
|
|
|
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else { };
|
|
|
|
|
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross_pre_gcc_13 else { };
|
|
|
|
|
|
|
|
|
|
isl = if !stdenv.isDarwin then isl_0_14 else null;
|
|
|
|
|
cloog = if !stdenv.isDarwin then cloog else null;
|
|
|
|
@@ -15128,7 +15128,7 @@ with pkgs;
|
|
|
|
|
profiledCompiler = false;
|
|
|
|
|
|
|
|
|
|
libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null;
|
|
|
|
|
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else { };
|
|
|
|
|
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross_pre_gcc_13 else { };
|
|
|
|
|
|
|
|
|
|
isl = if !stdenv.isDarwin then isl_0_11 else null;
|
|
|
|
|
|
|
|
|
@@ -15145,7 +15145,7 @@ with pkgs;
|
|
|
|
|
profiledCompiler = false;
|
|
|
|
|
|
|
|
|
|
libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null;
|
|
|
|
|
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else { };
|
|
|
|
|
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross_pre_gcc_13 else { };
|
|
|
|
|
|
|
|
|
|
# gcc 10 is too strict to cross compile gcc <= 8
|
|
|
|
|
stdenv = if (stdenv.targetPlatform != stdenv.buildPlatform) && stdenv.cc.isGNU then gcc7Stdenv else stdenv;
|
|
|
|
@@ -15164,7 +15164,7 @@ with pkgs;
|
|
|
|
|
profiledCompiler = false;
|
|
|
|
|
|
|
|
|
|
libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null;
|
|
|
|
|
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else { };
|
|
|
|
|
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross_pre_gcc_13 else { };
|
|
|
|
|
|
|
|
|
|
# gcc 10 is too strict to cross compile gcc <= 8
|
|
|
|
|
stdenv = if (stdenv.targetPlatform != stdenv.buildPlatform) && stdenv.cc.isGNU then gcc7Stdenv else stdenv;
|
|
|
|
@@ -15179,7 +15179,7 @@ with pkgs;
|
|
|
|
|
profiledCompiler = false;
|
|
|
|
|
|
|
|
|
|
libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null;
|
|
|
|
|
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else { };
|
|
|
|
|
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross_pre_gcc_13 else { };
|
|
|
|
|
|
|
|
|
|
# gcc 10 is too strict to cross compile gcc <= 8
|
|
|
|
|
stdenv = if (stdenv.targetPlatform != stdenv.buildPlatform) && stdenv.cc.isGNU then gcc7Stdenv else stdenv;
|
|
|
|
@@ -15194,7 +15194,7 @@ with pkgs;
|
|
|
|
|
profiledCompiler = false;
|
|
|
|
|
|
|
|
|
|
libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null;
|
|
|
|
|
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else { };
|
|
|
|
|
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross_pre_gcc_13 else { };
|
|
|
|
|
|
|
|
|
|
isl = if !stdenv.isDarwin then isl_0_20 else null;
|
|
|
|
|
}));
|
|
|
|
@@ -15206,7 +15206,7 @@ with pkgs;
|
|
|
|
|
profiledCompiler = false;
|
|
|
|
|
|
|
|
|
|
libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null;
|
|
|
|
|
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else { };
|
|
|
|
|
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross_pre_gcc_13 else { };
|
|
|
|
|
|
|
|
|
|
isl = if !stdenv.isDarwin then isl_0_20 else null;
|
|
|
|
|
}));
|
|
|
|
@@ -15218,7 +15218,7 @@ with pkgs;
|
|
|
|
|
profiledCompiler = false;
|
|
|
|
|
|
|
|
|
|
libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null;
|
|
|
|
|
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else { };
|
|
|
|
|
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross_pre_gcc_13 else { };
|
|
|
|
|
|
|
|
|
|
isl = if !stdenv.isDarwin then isl_0_20 else null;
|
|
|
|
|
}));
|
|
|
|
@@ -15230,7 +15230,7 @@ with pkgs;
|
|
|
|
|
profiledCompiler = false;
|
|
|
|
|
|
|
|
|
|
libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null;
|
|
|
|
|
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else { };
|
|
|
|
|
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross_pre_gcc_13 else { };
|
|
|
|
|
|
|
|
|
|
isl = if !stdenv.isDarwin then isl_0_20 else null;
|
|
|
|
|
}));
|
|
|
|
@@ -16841,7 +16841,10 @@ with pkgs;
|
|
|
|
|
# want the C++ library to be explicitly chosen by the caller, and null by
|
|
|
|
|
# default.
|
|
|
|
|
libcxx ? null
|
|
|
|
|
, extraPackages ? lib.optional (cc.isGNU or false && stdenv.targetPlatform.isMinGW) threadsCross.package
|
|
|
|
|
, extraPackages ? lib.optional (cc.isGNU or false && stdenv.targetPlatform.isMinGW)
|
|
|
|
|
(if lib.versionAtLeast cc.version "13"
|
|
|
|
|
then threadsCross.package
|
|
|
|
|
else threadsCross_pre_gcc_13.package)
|
|
|
|
|
, nixSupport ? {}
|
|
|
|
|
, ...
|
|
|
|
|
} @ extraArgs:
|
|
|
|
@@ -20814,6 +20817,14 @@ with pkgs;
|
|
|
|
|
|
|
|
|
|
libcCross = assert stdenv.targetPlatform != stdenv.buildPlatform; libcCrossChooser stdenv.targetPlatform.libc;
|
|
|
|
|
|
|
|
|
|
threadsCross_pre_gcc_13 = if stdenv.targetPlatform.isMinGW && !(stdenv.targetPlatform.useLLVM or false)
|
|
|
|
|
then {
|
|
|
|
|
# other possible values: win32 or posix
|
|
|
|
|
model = "mcf";
|
|
|
|
|
# For win32 or posix set this to null
|
|
|
|
|
package = targetPackages.windows.mcfgthreads_pre_gcc_13 or windows.mcfgthreads_pre_gcc_13;
|
|
|
|
|
} else { };
|
|
|
|
|
|
|
|
|
|
threadsCross = if stdenv.targetPlatform.isMinGW && !(stdenv.targetPlatform.useLLVM or false)
|
|
|
|
|
then {
|
|
|
|
|
# other possible values: win32 or posix
|
|
|
|
|