commit:     b343155f685e301381ab3bda1099d5935c4d2ae6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  2 15:28:39 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov  2 15:30:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b343155f

profiles/prefix/darwin/macos/12.0: add 12.0 profiles for macOS Monterey

Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/prefix/darwin/macos/12.0/arm64/eapi       |  1 +
 profiles/prefix/darwin/macos/12.0/arm64/gcc/eapi   |  1 +
 .../macos/12.0/arm64/gcc/package.accept_keywords   |  5 ++++
 profiles/prefix/darwin/macos/12.0/arm64/gcc/parent |  2 ++
 .../prefix/darwin/macos/12.0/arm64/gcc/use.mask    |  5 ++++
 .../prefix/darwin/macos/12.0/arm64/make.defaults   |  5 ++++
 profiles/prefix/darwin/macos/12.0/arm64/parent     |  2 ++
 profiles/prefix/darwin/macos/12.0/eapi             |  1 +
 profiles/prefix/darwin/macos/12.0/make.defaults    |  4 +++
 profiles/prefix/darwin/macos/12.0/package.use.mask |  7 +++++
 profiles/prefix/darwin/macos/12.0/parent           |  1 +
 profiles/prefix/darwin/macos/12.0/profile.bashrc   |  4 +++
 profiles/prefix/darwin/macos/12.0/x64/eapi         |  1 +
 profiles/prefix/darwin/macos/12.0/x64/gcc/eapi     |  1 +
 profiles/prefix/darwin/macos/12.0/x64/gcc/parent   |  2 ++
 .../prefix/darwin/macos/12.0/x64/make.defaults     |  5 ++++
 profiles/prefix/darwin/macos/12.0/x64/parent       |  2 ++
 profiles/prefix/darwin/macos/12.0/x64/use.mask     | 30 ++++++++++++++++++++++
 profiles/profiles.desc                             |  4 +++
 19 files changed, 83 insertions(+)

diff --git a/profiles/prefix/darwin/macos/12.0/arm64/eapi 
b/profiles/prefix/darwin/macos/12.0/arm64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/darwin/macos/12.0/arm64/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/prefix/darwin/macos/12.0/arm64/gcc/eapi 
b/profiles/prefix/darwin/macos/12.0/arm64/gcc/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/darwin/macos/12.0/arm64/gcc/eapi
@@ -0,0 +1 @@
+5

diff --git 
a/profiles/prefix/darwin/macos/12.0/arm64/gcc/package.accept_keywords 
b/profiles/prefix/darwin/macos/12.0/arm64/gcc/package.accept_keywords
new file mode 100644
index 00000000000..bd43de88a9a
--- /dev/null
+++ b/profiles/prefix/darwin/macos/12.0/arm64/gcc/package.accept_keywords
@@ -0,0 +1,5 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Apple SI support only exists in Ians' WIP
+=sys-devel/gcc-11* **

diff --git a/profiles/prefix/darwin/macos/12.0/arm64/gcc/parent 
b/profiles/prefix/darwin/macos/12.0/arm64/gcc/parent
new file mode 100644
index 00000000000..fceecddb55c
--- /dev/null
+++ b/profiles/prefix/darwin/macos/12.0/arm64/gcc/parent
@@ -0,0 +1,2 @@
+..
+../../../features/fsf-gcc-ld64

diff --git a/profiles/prefix/darwin/macos/12.0/arm64/gcc/use.mask 
b/profiles/prefix/darwin/macos/12.0/arm64/gcc/use.mask
new file mode 100644
index 00000000000..da062601bed
--- /dev/null
+++ b/profiles/prefix/darwin/macos/12.0/arm64/gcc/use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# SSP seems to cause asm/assembly errors with GCC, so disable it
+ssp

diff --git a/profiles/prefix/darwin/macos/12.0/arm64/make.defaults 
b/profiles/prefix/darwin/macos/12.0/arm64/make.defaults
new file mode 100644
index 00000000000..517a7af50a2
--- /dev/null
+++ b/profiles/prefix/darwin/macos/12.0/arm64/make.defaults
@@ -0,0 +1,5 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+CHOST="arm64-apple-darwin20"
+CHOST_arm64="${CHOST}"

diff --git a/profiles/prefix/darwin/macos/12.0/arm64/parent 
b/profiles/prefix/darwin/macos/12.0/arm64/parent
new file mode 100644
index 00000000000..a75c3ad0a55
--- /dev/null
+++ b/profiles/prefix/darwin/macos/12.0/arm64/parent
@@ -0,0 +1,2 @@
+..
+../../arch/arm64

diff --git a/profiles/prefix/darwin/macos/12.0/eapi 
b/profiles/prefix/darwin/macos/12.0/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/darwin/macos/12.0/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/prefix/darwin/macos/12.0/make.defaults 
b/profiles/prefix/darwin/macos/12.0/make.defaults
new file mode 100644
index 00000000000..bdc3180391f
--- /dev/null
+++ b/profiles/prefix/darwin/macos/12.0/make.defaults
@@ -0,0 +1,4 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+MACOSX_DEPLOYMENT_TARGET="12.0"

diff --git a/profiles/prefix/darwin/macos/12.0/package.use.mask 
b/profiles/prefix/darwin/macos/12.0/package.use.mask
new file mode 100644
index 00000000000..616485c717f
--- /dev/null
+++ b/profiles/prefix/darwin/macos/12.0/package.use.mask
@@ -0,0 +1,7 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Fabian Groffen <[email protected]> (2011-04-10)
+# as long as util-linux installs uuid.h which breaks the system headers
+# (hence we don't) we can't do uuid support here
+x11-libs/libSM -uuid

diff --git a/profiles/prefix/darwin/macos/12.0/parent 
b/profiles/prefix/darwin/macos/12.0/parent
new file mode 100644
index 00000000000..f3229c5b987
--- /dev/null
+++ b/profiles/prefix/darwin/macos/12.0/parent
@@ -0,0 +1 @@
+..

diff --git a/profiles/prefix/darwin/macos/12.0/profile.bashrc 
b/profiles/prefix/darwin/macos/12.0/profile.bashrc
new file mode 100644
index 00000000000..b18a8349aea
--- /dev/null
+++ b/profiles/prefix/darwin/macos/12.0/profile.bashrc
@@ -0,0 +1,4 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+export MACOSX_DEPLOYMENT_TARGET=12.0

diff --git a/profiles/prefix/darwin/macos/12.0/x64/eapi 
b/profiles/prefix/darwin/macos/12.0/x64/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/darwin/macos/12.0/x64/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/prefix/darwin/macos/12.0/x64/gcc/eapi 
b/profiles/prefix/darwin/macos/12.0/x64/gcc/eapi
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/profiles/prefix/darwin/macos/12.0/x64/gcc/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/prefix/darwin/macos/12.0/x64/gcc/parent 
b/profiles/prefix/darwin/macos/12.0/x64/gcc/parent
new file mode 100644
index 00000000000..fceecddb55c
--- /dev/null
+++ b/profiles/prefix/darwin/macos/12.0/x64/gcc/parent
@@ -0,0 +1,2 @@
+..
+../../../features/fsf-gcc-ld64

diff --git a/profiles/prefix/darwin/macos/12.0/x64/make.defaults 
b/profiles/prefix/darwin/macos/12.0/x64/make.defaults
new file mode 100644
index 00000000000..fc5c5eebb17
--- /dev/null
+++ b/profiles/prefix/darwin/macos/12.0/x64/make.defaults
@@ -0,0 +1,5 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+CHOST="x86_64-apple-darwin20"
+CHOST_amd64="${CHOST}"

diff --git a/profiles/prefix/darwin/macos/12.0/x64/parent 
b/profiles/prefix/darwin/macos/12.0/x64/parent
new file mode 100644
index 00000000000..269f6f48bb1
--- /dev/null
+++ b/profiles/prefix/darwin/macos/12.0/x64/parent
@@ -0,0 +1,2 @@
+..
+../../arch/x64

diff --git a/profiles/prefix/darwin/macos/12.0/x64/use.mask 
b/profiles/prefix/darwin/macos/12.0/x64/use.mask
new file mode 100644
index 00000000000..e59a89413c3
--- /dev/null
+++ b/profiles/prefix/darwin/macos/12.0/x64/use.mask
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# This file masks out USE flags that are simply NOT allowed in the default
+# x86 profile.  This works, for example, if another architecture's
+# profile have a USE flag associated with (such as altivec, mmx, etc).
+
+# Unmask x86 instruction sets
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_ssse3
+-svga
+
+# Unmask nvidia XvMC support
+-nvidia
+
+# Unmask dev-db/oracle-instantclient-basic support
+-oci8-instant-client
+
+# Modular X: unmask for architectures on which they are available
+-input_devices_synaptics
+-input_devices_vmmouse
+-input_devices_wacom
+-video_cards_nvidia
+-video_cards_vmware
+
+# ibm is only used for ppc64 stuff
+ibm

diff --git a/profiles/profiles.desc b/profiles/profiles.desc
index 96b7fb7f0e1..2fb5f0eb4cf 100644
--- a/profiles/profiles.desc
+++ b/profiles/profiles.desc
@@ -323,8 +323,12 @@ x64-macos          prefix/darwin/macos/10.15/x64           
        exp
 x64-macos              prefix/darwin/macos/10.15/x64/gcc               exp
 x64-macos              prefix/darwin/macos/11.0/x64                    exp
 x64-macos              prefix/darwin/macos/11.0/x64/gcc                exp
+x64-macos              prefix/darwin/macos/12.0/x64                    exp
+x64-macos              prefix/darwin/macos/12.0/x64/gcc                exp
 arm64-macos            prefix/darwin/macos/11.0/arm64                  exp
 arm64-macos            prefix/darwin/macos/11.0/arm64/gcc              exp
+arm64-macos            prefix/darwin/macos/12.0/arm64                  exp
+arm64-macos            prefix/darwin/macos/12.0/arm64/gcc              exp
 
 # Solaris Profiles
 sparc-solaris          prefix/sunos/solaris/5.11/sparc                 exp

Reply via email to