summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Sokolov <alexey+gentoo@asokolov.org>2024-01-27 09:46:01 +0000
committerSam James <sam@gentoo.org>2024-02-02 21:32:32 +0000
commitabdf1346a5652dc0b57e2ed786425c3daa0b6707 (patch)
tree12b54725b8a50e646410f23e6d452119bc1784ec /profiles
parentdev-python/apsw: Bump to 3.45.1.0 (diff)
downloadgentoo-abdf1346a5652dc0b57e2ed786425c3daa0b6707.tar.gz
gentoo-abdf1346a5652dc0b57e2ed786425c3daa0b6707.tar.bz2
gentoo-abdf1346a5652dc0b57e2ed786425c3daa0b6707.zip
profiles: add prefix llvm profile for macos
Bug: https://bugs.gentoo.org/758167 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/35042 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'profiles')
-rw-r--r--profiles/prefix/darwin/macos/14.0/arm64/clang/eapi1
-rw-r--r--profiles/prefix/darwin/macos/14.0/arm64/clang/parent2
-rw-r--r--profiles/prefix/darwin/macos/features/clang-lld/eapi1
-rw-r--r--profiles/prefix/darwin/macos/features/clang-lld/make.defaults7
-rw-r--r--profiles/prefix/darwin/macos/features/clang-lld/package.mask5
-rw-r--r--profiles/prefix/darwin/macos/features/clang-lld/packages4
-rw-r--r--profiles/prefix/darwin/macos/features/clang-lld/parent1
7 files changed, 21 insertions, 0 deletions
diff --git a/profiles/prefix/darwin/macos/14.0/arm64/clang/eapi b/profiles/prefix/darwin/macos/14.0/arm64/clang/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/14.0/arm64/clang/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/14.0/arm64/clang/parent b/profiles/prefix/darwin/macos/14.0/arm64/clang/parent
new file mode 100644
index 000000000000..745bf6d92cb4
--- /dev/null
+++ b/profiles/prefix/darwin/macos/14.0/arm64/clang/parent
@@ -0,0 +1,2 @@
+../../../features/clang-lld
+..
diff --git a/profiles/prefix/darwin/macos/features/clang-lld/eapi b/profiles/prefix/darwin/macos/features/clang-lld/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/darwin/macos/features/clang-lld/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/darwin/macos/features/clang-lld/make.defaults b/profiles/prefix/darwin/macos/features/clang-lld/make.defaults
new file mode 100644
index 000000000000..bed8060e82fa
--- /dev/null
+++ b/profiles/prefix/darwin/macos/features/clang-lld/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+LD=ld64.lld
+
+# Several packages fail to build without this
+lt_cv_apple_cc_single_mod=yes
diff --git a/profiles/prefix/darwin/macos/features/clang-lld/package.mask b/profiles/prefix/darwin/macos/features/clang-lld/package.mask
new file mode 100644
index 000000000000..54366468b2ac
--- /dev/null
+++ b/profiles/prefix/darwin/macos/features/clang-lld/package.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# If installed, causes some miscompilation somewhere, and cmake crashes during bootstrap
+sys-devel/binutils-apple
diff --git a/profiles/prefix/darwin/macos/features/clang-lld/packages b/profiles/prefix/darwin/macos/features/clang-lld/packages
new file mode 100644
index 000000000000..9cb68887f977
--- /dev/null
+++ b/profiles/prefix/darwin/macos/features/clang-lld/packages
@@ -0,0 +1,4 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+-*sys-devel/binutils-apple
diff --git a/profiles/prefix/darwin/macos/features/clang-lld/parent b/profiles/prefix/darwin/macos/features/clang-lld/parent
new file mode 100644
index 000000000000..8ee86c0ee943
--- /dev/null
+++ b/profiles/prefix/darwin/macos/features/clang-lld/parent
@@ -0,0 +1 @@
+../../../../../features/llvm