commit: abdf1346a5652dc0b57e2ed786425c3daa0b6707 Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org> AuthorDate: Sat Jan 27 09:46:01 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Feb 2 21:32:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abdf1346
profiles: add prefix llvm profile for macos Bug: https://bugs.gentoo.org/758167 Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/35042 Signed-off-by: Sam James <sam <AT> gentoo.org> profiles/prefix/darwin/macos/14.0/arm64/clang/eapi | 1 + profiles/prefix/darwin/macos/14.0/arm64/clang/parent | 2 ++ profiles/prefix/darwin/macos/features/clang-lld/eapi | 1 + profiles/prefix/darwin/macos/features/clang-lld/make.defaults | 7 +++++++ profiles/prefix/darwin/macos/features/clang-lld/package.mask | 5 +++++ profiles/prefix/darwin/macos/features/clang-lld/packages | 4 ++++ profiles/prefix/darwin/macos/features/clang-lld/parent | 1 + 7 files changed, 21 insertions(+) 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
