summaryrefslogtreecommitdiff
path: root/sys-devel/clang-common
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/clang-common')
-rw-r--r--sys-devel/clang-common/Manifest14
-rw-r--r--sys-devel/clang-common/clang-common-15.0.5.ebuild15
-rw-r--r--sys-devel/clang-common/clang-common-15.0.6.9999.ebuild15
-rw-r--r--sys-devel/clang-common/clang-common-15.0.6.ebuild15
-rw-r--r--sys-devel/clang-common/clang-common-16.0.0.9999.ebuild15
-rw-r--r--sys-devel/clang-common/clang-common-16.0.0_pre20221210.ebuild15
-rw-r--r--sys-devel/clang-common/clang-common-16.0.0_pre20221217.ebuild15
-rw-r--r--sys-devel/clang-common/metadata.xml1
8 files changed, 92 insertions, 13 deletions
diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index fd691db5c808..33f9ebcebf11 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -9,10 +9,10 @@ DIST llvm-project-fb792ebaf2114ad11d673cf891ae560e2e604711.tar.gz 174312496 BLAK
DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f
EBUILD clang-common-13.0.1.ebuild 593 BLAKE2B f7d78facc226d949240f31d10bb01f6a2bbe3c806d7f7c22a78d715d29de74723bedccdeefd029d309b090afe63821e10a1bd27662ff156640820fbca1896bab SHA512 48e5c5f3d4716c15018aa246cf61fbf898c4c459b1f04710da155084a8cf5b8a6df7697c300d297ac48ee1a8a8cff9bc9b4fca712455032f78cb26e9f77ef955
EBUILD clang-common-14.0.6.ebuild 541 BLAKE2B 87b158e874cf600e23591a8095e0edb4d30d4482600ef8fe38984e9ba9559e6e2226107cd482f355d950392a6a452e1a8ae79d297d5afc3951a7f1c8f6227b5f SHA512 1bd0481468c278f131ec9f87243927b60a59752f4229450559bf8016e9599155a52593810fcdc1cf0aecd4aa1529e8df300d95123a53de18eb326152caafbbef
-EBUILD clang-common-15.0.5.ebuild 3509 BLAKE2B be227d48c3e032de6029d5030eca900d53d2cc0a3fd46323130449a99888f4ab5ccaf73aa14b461b5300ceca70b8c52281bd20a1f71357027f9adc8f638820f2 SHA512 bd511cea98bb9477abbb379bab1bdd2afd2c6f5c255be79792289e11f789322490ec45dbfb76e644179a2fcd2e7ea0314a4abedce111d4f35bc1c51548834e7b
-EBUILD clang-common-15.0.6.9999.ebuild 3432 BLAKE2B 92679a03e3a45df587198ce70dfaebbc674c47229b14040c93353dd4c384636df7ff6591138c8aedf00fcee0f75edef3fc9f3257058f1d8fcdcade0c2be8c244 SHA512 e33fd7582bbe2d3ad4ed3405a92db98d7365d040df39f7e32d2f75b093e346ec88230813c607983398f9c310bc0925b61d9b438905e8177665db123e1b7d064c
-EBUILD clang-common-15.0.6.ebuild 3514 BLAKE2B cf083c79b37a0fb37ccfada41de423024732e7ab6e3b84cd771db1f7665376bf8432c787e298cd9d964d30df46e1e360a10970c8bdb1031fecce4b3776c13845 SHA512 5eeaf65d577ee9569787e98bddee4837ef9cef9e9c0a917a23cb13eb92b6275bd556f3bb9802d4934c311f6fae4a5d3de8939aac1d6de676b5eab1359b77f13e
-EBUILD clang-common-16.0.0.9999.ebuild 3569 BLAKE2B fa58a81a826ae45c5287dcd49ba78ad5a5da4cbcdf7f28def7d8691fef5d622ac3dfb116e21b642f143a541d8cb4cdd136056f3d488dc3d4d8fed6383ed55c04 SHA512 3032daff6a584f1b3490738c967e38f26d860841d606e649c394c18237de3cf71c4ae91ce33ac6ca8f8c991e670b750023c10210626f9cdf7e7e3961405885b7
-EBUILD clang-common-16.0.0_pre20221210.ebuild 3575 BLAKE2B 1c2007779af34e1fcb365371e266e0dc86e675792c28a02f53615e207239ab259ee7a71ac2d971a7833a1872409ceb8f8fe95a50e45ef3b8c948af3184dabc38 SHA512 97568c6737ac321f46782ce784a30c31a3d1ce6d2839e38cabfdde9becf56a1b44f2c05ab108fe18681ca021ad8f4d8d6161c5afce773f6b137d2d11f21177ad
-EBUILD clang-common-16.0.0_pre20221217.ebuild 3575 BLAKE2B 1c2007779af34e1fcb365371e266e0dc86e675792c28a02f53615e207239ab259ee7a71ac2d971a7833a1872409ceb8f8fe95a50e45ef3b8c948af3184dabc38 SHA512 97568c6737ac321f46782ce784a30c31a3d1ce6d2839e38cabfdde9becf56a1b44f2c05ab108fe18681ca021ad8f4d8d6161c5afce773f6b137d2d11f21177ad
-MISC metadata.xml 735 BLAKE2B 12ea133df3d7eb9367a65e572ef91893e654d5b77caa27c66e4b5b41ba90ebc5e619eb78dfff2a67183d2c1cbfcf35fa903b2bb75604ce153d5cedfce5346e3c SHA512 8ed6b12d4f2aa1985897a8d81ce898dbc0d14ac222f3d0f259cbe80fbb8b2349dff7677627daeaf39a422f290200da4fac6348abc81c9e35da0ca73a11cfdd83
+EBUILD clang-common-15.0.5.ebuild 3982 BLAKE2B a1c6db0e2f0ebd969fa71cd4dd5559ffeb666e6a42b6023b0b1187dad3258631ecfd7ec810872f0cef3ac2212b3fcb72a2cd2446abe7c42a71c5eedca2dc96e7 SHA512 62152a1c91dc764f05a4b5e35c20fc5ab4f64c23caa33282993c2a8449e36ca57ade42a4245807301f8143412bba0882670ea1921eb08d778e914132da004d44
+EBUILD clang-common-15.0.6.9999.ebuild 3905 BLAKE2B 56bcd5e253c0349935f314c8797ba98d26e5a2e24fab89f82870473147986928ecefba13a473fc89c58733526dbf48ebc7ca8350430042e4cc38f4e00c4f2724 SHA512 9be7c262f355776d21dec5880e5f3b45ab7194032450496b05f52cb2079d73e2368eeefd149c9b0da9ba2341ea0ea8c4d4ffd24695c29fdd2a2a9d7f5456e3f6
+EBUILD clang-common-15.0.6.ebuild 3987 BLAKE2B 3904900a7d783b9e9de4e628d15f1b62d8734871aacf46eec042ebce7d03a68caa7f6b11efe9546d45e6173151ef5d4e441d1cb2f2beccc5469bce69dde43148 SHA512 e2be270359acf3afec8f62c9cdcfe4fb8323466419c8b95baa4fa1aa99ff0e0e0c48f68347b6824229b8af780f03aa0c74765a0bda7da3a7dd33b982a490b6bd
+EBUILD clang-common-16.0.0.9999.ebuild 4042 BLAKE2B 441c0ea8bed1006d17a9aba9e6f4fccc76d39246816e319c77d9754fc7bab98ab8426e8697f4f877a8545e5454928f0670da742b415a16b044cabb78d91f2287 SHA512 8b995d5fbe1c5fa4bf20a84c533cc15673cea57c395e38bb989a5de5cbd13caf801027e4bc24a3e8bbfe4ebf25e7dc11d0ea1d4617ac23638c7a24118ca22693
+EBUILD clang-common-16.0.0_pre20221210.ebuild 4048 BLAKE2B 81e30ab9244bde58aba44195278c6d3673fca835d0d5d1876528c43ca51bbfce715c40d8ac81a1825846b553d9f995105fd6378c34bcd073eef0e954320d475c SHA512 8b5388cba30dd3501ce6908d5f4d7fcce32d920b56ae823e9a2c2f565792ab7223bc8932147b8e08f10b08707714da081732011eea485df8c4b36c451a5573a2
+EBUILD clang-common-16.0.0_pre20221217.ebuild 4048 BLAKE2B 81e30ab9244bde58aba44195278c6d3673fca835d0d5d1876528c43ca51bbfce715c40d8ac81a1825846b553d9f995105fd6378c34bcd073eef0e954320d475c SHA512 8b5388cba30dd3501ce6908d5f4d7fcce32d920b56ae823e9a2c2f565792ab7223bc8932147b8e08f10b08707714da081732011eea485df8c4b36c451a5573a2
+MISC metadata.xml 834 BLAKE2B 9ef4a3d51af006b8aab50960350ee47f02b5fe2bcff540565dd0b8f33f45af2456d409c22f1e7dfcd7c6e759151fdbe93780aa36c7335f2711b6f2625e3fd1cf SHA512 42ef310e764cec1bafc6af95d955e6bf3ee3884ff0d85f1c945f2e6de0273cf2d77d334ce328a101fd6c76e289209192fdd206e713f469caf0c4e0ba4cc92a6d
diff --git a/sys-devel/clang-common/clang-common-15.0.5.ebuild b/sys-devel/clang-common/clang-common-15.0.5.ebuild
index 2fdf615be818..ee4c708e9f3c 100644
--- a/sys-devel/clang-common/clang-common-15.0.5.ebuild
+++ b/sys-devel/clang-common/clang-common-15.0.5.ebuild
@@ -12,7 +12,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~ppc-macos ~x64-macos"
IUSE="
- default-compiler-rt default-libcxx default-lld llvm-libunwind
+ default-compiler-rt default-libcxx default-lld ieee-long-double llvm-libunwind
stricter
"
@@ -88,6 +88,19 @@ src_install() {
@gentoo-gcc-install.cfg
EOF
+ # needed until https://reviews.llvm.org/D117181#3266224 is done.
+ # silently drop support on musl even if enabled, it does not support it.
+ if use ppc64 && use ieee-long-double && ! use elibc_musl; then
+ newins - gentoo-ppc64le-ieeelongdouble.cfg <<-EOF
+ # This file forces 128bit long double on ppc64le systems.
+ -mabi=ieeelongdouble
+ EOF
+
+ cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die
+ @gentoo-ppc64le-ieeelongdouble.cfg
+ EOF
+ fi
+
if use stricter; then
newins - gentoo-stricter.cfg <<-EOF
# This file increases the strictness of older clang versions
diff --git a/sys-devel/clang-common/clang-common-15.0.6.9999.ebuild b/sys-devel/clang-common/clang-common-15.0.6.9999.ebuild
index 3e43f51a0aab..748263e37efa 100644
--- a/sys-devel/clang-common/clang-common-15.0.6.9999.ebuild
+++ b/sys-devel/clang-common/clang-common-15.0.6.9999.ebuild
@@ -12,7 +12,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
KEYWORDS=""
IUSE="
- default-compiler-rt default-libcxx default-lld llvm-libunwind
+ default-compiler-rt default-libcxx default-lld ieee-long-double llvm-libunwind
stricter
"
@@ -88,6 +88,19 @@ src_install() {
@gentoo-gcc-install.cfg
EOF
+ # needed until https://reviews.llvm.org/D117181#3266224 is done.
+ # silently drop support on musl even if enabled, it does not support it.
+ if use ppc64 && use ieee-long-double && ! use elibc_musl; then
+ newins - gentoo-ppc64le-ieeelongdouble.cfg <<-EOF
+ # This file forces 128bit long double on ppc64le systems.
+ -mabi=ieeelongdouble
+ EOF
+
+ cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die
+ @gentoo-ppc64le-ieeelongdouble.cfg
+ EOF
+ fi
+
if use stricter; then
newins - gentoo-stricter.cfg <<-EOF
# This file increases the strictness of older clang versions
diff --git a/sys-devel/clang-common/clang-common-15.0.6.ebuild b/sys-devel/clang-common/clang-common-15.0.6.ebuild
index e681aa13cd6d..ed38534ff289 100644
--- a/sys-devel/clang-common/clang-common-15.0.6.ebuild
+++ b/sys-devel/clang-common/clang-common-15.0.6.ebuild
@@ -12,7 +12,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos"
IUSE="
- default-compiler-rt default-libcxx default-lld llvm-libunwind
+ default-compiler-rt default-libcxx default-lld ieee-long-double llvm-libunwind
stricter
"
@@ -88,6 +88,19 @@ src_install() {
@gentoo-gcc-install.cfg
EOF
+ # needed until https://reviews.llvm.org/D117181#3266224 is done.
+ # silently drop support on musl even if enabled, it does not support it.
+ if use ppc64 && use ieee-long-double && ! use elibc_musl; then
+ newins - gentoo-ppc64le-ieeelongdouble.cfg <<-EOF
+ # This file forces 128bit long double on ppc64le systems.
+ -mabi=ieeelongdouble
+ EOF
+
+ cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die
+ @gentoo-ppc64le-ieeelongdouble.cfg
+ EOF
+ fi
+
if use stricter; then
newins - gentoo-stricter.cfg <<-EOF
# This file increases the strictness of older clang versions
diff --git a/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild b/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild
index e9669ee1adcc..efd64f57046c 100644
--- a/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild
+++ b/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild
@@ -12,7 +12,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
KEYWORDS=""
IUSE="
- default-compiler-rt default-libcxx default-lld llvm-libunwind
+ default-compiler-rt default-libcxx default-lld ieee-long-double llvm-libunwind
stricter
"
@@ -88,6 +88,19 @@ src_install() {
@gentoo-gcc-install.cfg
EOF
+ # needed until https://reviews.llvm.org/D117181#3266224 is done.
+ # silently drop support on musl even if enabled, it does not support it.
+ if use ppc64 && use ieee-long-double && ! use elibc_musl; then
+ newins - gentoo-ppc64le-ieeelongdouble.cfg <<-EOF
+ # This file forces 128bit long double on ppc64le systems.
+ -mabi=ieeelongdouble
+ EOF
+
+ cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die
+ @gentoo-ppc64le-ieeelongdouble.cfg
+ EOF
+ fi
+
if use stricter; then
newins - gentoo-stricter.cfg <<-EOF
# This file increases the strictness of older clang versions
diff --git a/sys-devel/clang-common/clang-common-16.0.0_pre20221210.ebuild b/sys-devel/clang-common/clang-common-16.0.0_pre20221210.ebuild
index 0df5a88a9a09..e8dbca1bdc0f 100644
--- a/sys-devel/clang-common/clang-common-16.0.0_pre20221210.ebuild
+++ b/sys-devel/clang-common/clang-common-16.0.0_pre20221210.ebuild
@@ -12,7 +12,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
KEYWORDS="~loong"
IUSE="
- default-compiler-rt default-libcxx default-lld llvm-libunwind
+ default-compiler-rt default-libcxx default-lld ieee-long-double llvm-libunwind
stricter
"
@@ -88,6 +88,19 @@ src_install() {
@gentoo-gcc-install.cfg
EOF
+ # needed until https://reviews.llvm.org/D117181#3266224 is done.
+ # silently drop support on musl even if enabled, it does not support it.
+ if use ppc64 && use ieee-long-double && ! use elibc_musl; then
+ newins - gentoo-ppc64le-ieeelongdouble.cfg <<-EOF
+ # This file forces 128bit long double on ppc64le systems.
+ -mabi=ieeelongdouble
+ EOF
+
+ cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die
+ @gentoo-ppc64le-ieeelongdouble.cfg
+ EOF
+ fi
+
if use stricter; then
newins - gentoo-stricter.cfg <<-EOF
# This file increases the strictness of older clang versions
diff --git a/sys-devel/clang-common/clang-common-16.0.0_pre20221217.ebuild b/sys-devel/clang-common/clang-common-16.0.0_pre20221217.ebuild
index 0df5a88a9a09..e8dbca1bdc0f 100644
--- a/sys-devel/clang-common/clang-common-16.0.0_pre20221217.ebuild
+++ b/sys-devel/clang-common/clang-common-16.0.0_pre20221217.ebuild
@@ -12,7 +12,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0"
KEYWORDS="~loong"
IUSE="
- default-compiler-rt default-libcxx default-lld llvm-libunwind
+ default-compiler-rt default-libcxx default-lld ieee-long-double llvm-libunwind
stricter
"
@@ -88,6 +88,19 @@ src_install() {
@gentoo-gcc-install.cfg
EOF
+ # needed until https://reviews.llvm.org/D117181#3266224 is done.
+ # silently drop support on musl even if enabled, it does not support it.
+ if use ppc64 && use ieee-long-double && ! use elibc_musl; then
+ newins - gentoo-ppc64le-ieeelongdouble.cfg <<-EOF
+ # This file forces 128bit long double on ppc64le systems.
+ -mabi=ieeelongdouble
+ EOF
+
+ cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die
+ @gentoo-ppc64le-ieeelongdouble.cfg
+ EOF
+ fi
+
if use stricter; then
newins - gentoo-stricter.cfg <<-EOF
# This file increases the strictness of older clang versions
diff --git a/sys-devel/clang-common/metadata.xml b/sys-devel/clang-common/metadata.xml
index 7ea033c083c9..8eb8b3420e8e 100644
--- a/sys-devel/clang-common/metadata.xml
+++ b/sys-devel/clang-common/metadata.xml
@@ -11,6 +11,7 @@
<flag name="default-compiler-rt">Use compiler-rt + libunwind instead of libgcc as the default rtlib for clang</flag>
<flag name="default-libcxx">Use libc++ instead of libstdc++ as the default stdlib for clang</flag>
<flag name="default-lld">Use lld as the default linker for clang</flag>
+ <flag name="ieee-long-double">Use accelerated 128-bit IEEE long double ABI (ppc64le only)</flag>
<flag name="stricter">Default to stricter behavior known from newer clang versions, turning more warnings into errors</flag>
</use>
</pkgmetadata>