diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2023-06-18 20:03:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-18 20:03:50 +0100 |
commit | 92a4703048452a504465db54f981fb6e80a5cf41 (patch) | |
tree | a8d44f8a727f74c1d558f779e203d3eef455e9bc /pkgs/build-support | |
parent | a7b22181a5123d27576e87d2edf1089ae39f0d53 (diff) | |
parent | 1b7776a3fb8962b6ea985ec8bf9d95d0403e373a (diff) |
Merge pull request #238133 from LibreCybernetics/add-znver4-arch
lib.systems: add znver4 architecture
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/cc-wrapper/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix index e4dcb81346697..84c5a78b877bf 100644 --- a/pkgs/build-support/cc-wrapper/default.nix +++ b/pkgs/build-support/cc-wrapper/default.nix @@ -120,6 +120,7 @@ let znver1 = versionAtLeast ccVersion "6.0"; znver2 = versionAtLeast ccVersion "9.0"; znver3 = versionAtLeast ccVersion "11.0"; + znver4 = versionAtLeast ccVersion "13.0"; }.${arch} or true else if isClang then { # Intel @@ -130,6 +131,8 @@ let # AMD znver1 = versionAtLeast ccVersion "4.0"; znver2 = versionAtLeast ccVersion "9.0"; + znver3 = versionAtLeast ccVersion "12.0"; + znver4 = versionAtLeast ccVersion "16.0"; }.${arch} or true else false; |