diff options
Diffstat (limited to 'sys-devel/clang')
-rw-r--r-- | sys-devel/clang/Manifest | 14 | ||||
-rw-r--r-- | sys-devel/clang/clang-13.0.1.ebuild | 5 | ||||
-rw-r--r-- | sys-devel/clang/clang-14.0.6-r1.ebuild | 5 | ||||
-rw-r--r-- | sys-devel/clang/clang-15.0.7-r1.ebuild | 5 | ||||
-rw-r--r-- | sys-devel/clang/clang-16.0.0.9999.ebuild | 5 | ||||
-rw-r--r-- | sys-devel/clang/clang-16.0.0_pre20230107.ebuild | 5 | ||||
-rw-r--r-- | sys-devel/clang/clang-16.0.0_pre20230127.ebuild | 5 | ||||
-rw-r--r-- | sys-devel/clang/clang-17.0.0.9999.ebuild | 5 |
8 files changed, 42 insertions, 7 deletions
diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest index e112d3f2c80d..c2cd6dd41178 100644 --- a/sys-devel/clang/Manifest +++ b/sys-devel/clang/Manifest @@ -11,11 +11,11 @@ DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c DIST llvm-project-46d5a57801bc37e5ebb1a4d6b2acc0fa99c01e8d.tar.gz 180436731 BLAKE2B 51c30c3f11dd55a225b8ebe4ded752ce9e8eb58751e7458c29901dbdd3673f94892d337d111d696e779e3f7ef0bca6c7d79709e2072a4bf3a001d8813125d571 SHA512 ebbe0f8becac39d63433dcc3de474c40f1215fc8faab94fa2ba869d28e66b27e4fe088377bd7ae64575a6d7b07017b88bf92e5488a3185a753e647d8da352bbf DIST llvm-project-6dc85bd3fde7df2999fda07e9e9f2e83d52c6125.tar.gz 175208511 BLAKE2B cf87cf7e9bf7c74aab8ccda0f153369cb81798047fdd48025c3c7030857b128babbaafb667385a5c8e9916e16038b14fee39f1623d329471e73c39c2f2d7bbfa SHA512 e6dc0cacd6c079be8a00364e4c244782d764d9a8d514d65f9078427cb4a0c1663ff88761bfbc1e955a1a990451439110497c2cb7af7f56b2c91f2e9db4389894 DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f -EBUILD clang-13.0.1.ebuild 11294 BLAKE2B 260d3fed4578927cf654a3f364466a4d40da4526c4bb73438a63392105d07974a380a3a2cba1f1b2bfa3c99545e1e423a4953a15c58af81d860a02fcb7212d34 SHA512 ebb91165ea8a3f661c8d8cabca3aba073b6021d9bfc42ad5dd5e9d177c532c5aa1be9b403e9199ff3a4aaef339340d9113126ded20643463f28f5137038eab9d -EBUILD clang-14.0.6-r1.ebuild 11719 BLAKE2B 116c47c61ca5f55544a886a81f1c443ab0d81d525d3e0e2137fed1aa8a872d0dfa5b0e9734ede6832cccabf141f8f788672c717f4e8c66df95ec0065cf5f1e79 SHA512 f27cd603fa3b02b9a3cad09231472a7047c2d6cb057a9b85a5ca7a9de93e7ec2c35e578cd50dd187886cb34f8fa88e32d3cf7f51c0c019b7b2ad232a127a8f38 -EBUILD clang-15.0.7-r1.ebuild 12114 BLAKE2B a5a741792ec216d7942597dc6eb4e0c868738698cc4894a2053ba3acf23e347941079b67ba1c0d87fcdc37db4b72be0d30ff6a9870e3a716fe6127ebbb0b7770 SHA512 defb873f69065300f6c1eeb766b23aad7deb4ee1ef5d8de9b6d748c0cd524b58aa45a635f79ad833da8bcce537de9ca1a4c3ee62f57c6cd596f7f35a96471731 -EBUILD clang-16.0.0.9999.ebuild 11809 BLAKE2B fea22fa24054a45527d9bdd7b1fefda36eb7ad345cce748ca6ee3e7e200b63331d39dfc7149051a91e9874e42aadfb0019b56418a2201f8f494bf0903f47e526 SHA512 e4e3d20b3ca0a9692d132999b84879921837f084875eb07ca88423afb11684d6702f094be6833270650c00372e320c0986db2faf28c76ccccd1095614728d52f -EBUILD clang-16.0.0_pre20230107.ebuild 11888 BLAKE2B 46d7463ac2022887874a597d172497b1e04b715c326eb629c5fde978bf36ca0229be7d06f333647a7d392c7bcfead3a8ecefedb2848689b5f0713e50193aace4 SHA512 de47068ccb31519b4eb8f782d5a81379d667913b39c59128eb4c0c22a4d82cf3818547bf393d18d392aa7f2309c0aabc4434986328cf55272bac86037f657c5f -EBUILD clang-16.0.0_pre20230127.ebuild 11809 BLAKE2B fea22fa24054a45527d9bdd7b1fefda36eb7ad345cce748ca6ee3e7e200b63331d39dfc7149051a91e9874e42aadfb0019b56418a2201f8f494bf0903f47e526 SHA512 e4e3d20b3ca0a9692d132999b84879921837f084875eb07ca88423afb11684d6702f094be6833270650c00372e320c0986db2faf28c76ccccd1095614728d52f -EBUILD clang-17.0.0.9999.ebuild 11809 BLAKE2B fea22fa24054a45527d9bdd7b1fefda36eb7ad345cce748ca6ee3e7e200b63331d39dfc7149051a91e9874e42aadfb0019b56418a2201f8f494bf0903f47e526 SHA512 e4e3d20b3ca0a9692d132999b84879921837f084875eb07ca88423afb11684d6702f094be6833270650c00372e320c0986db2faf28c76ccccd1095614728d52f +EBUILD clang-13.0.1.ebuild 11514 BLAKE2B 373f6f58793b845b3b26d00e678d7e88755bd3260eaf541cb93cf6f1db922056c4126ce75c64cd63ef040bd19c1fa2d0ae7f18b1f38e1f5a24e28aa7416a44fa SHA512 bd763703d44f34c448475069b42a8128df0c78c32690ddf625bc38ddf939b4bace9f3dae9bb614fadc83d1910b1b0d3324dd1ead71cb841e311d8ed8f4647b8a +EBUILD clang-14.0.6-r1.ebuild 11939 BLAKE2B ef1d63a056e0a183ee377e041f78d04c05c90a1242cd860e118f24f195c53dcb79d758b80e1f8f29d46bb15a55fa804cd4f6b71415a08f3f23bca4003b708a09 SHA512 49059b0c924c23d72cd1db553d83114568b75e5cf485230ab4b70a8e62ed63fbe513c67cecfcb2d64826818af6d5e391bc8e056ae2162e1f36a25320c3d103d5 +EBUILD clang-15.0.7-r1.ebuild 12334 BLAKE2B 202bb7812b97a83f6391fa264d261905cb0b91cf28e68b83d3d793b4590b08278e960ce5f7810ea3042b99f90ca63ac758850ca61c312c87488bf9941ad5b248 SHA512 b5dee261a96ed7a514277743fb4a06907acedb553ed0a3c99171698240bfc6a7a19b8f6e0392e1b69b55a5b51e65ae96d1c9dc91b655d8de2f485b1b11a8dec5 +EBUILD clang-16.0.0.9999.ebuild 12029 BLAKE2B dbfa7cb9115b0f9e4c04a9cae79fe0834a7692deaf9b7a7b96164bba943de6efce94dbeeb4d940b1b8feca2ad400bd62b6c935fa686a28b6bd9e9245d7d988f0 SHA512 97d6102649a37c1dfc9876834f2a36ebc69042cfcf70924a35fa38fdb892401c481c18f426ecbbb94059fbda7cf52dc3c06b5c72ed4d18a619803e1c77900bff +EBUILD clang-16.0.0_pre20230107.ebuild 12108 BLAKE2B 63f8b22b4f154bb3ad33259f56288eb67db50171a22e2446ccf951e5a7feb62a12db4c72a4296ad8d2f6254d1613d0a945d8f169e20a3865170d048d51e37b08 SHA512 03e64c79d0ed3ae47029a238fda98116b60f2f7a83f6a96dd639d31c1cbd30a7eb50d30a66d5642ab257bc6fa65b9eab2608c5f4af3505fb4e016b4d1c043a09 +EBUILD clang-16.0.0_pre20230127.ebuild 12029 BLAKE2B dbfa7cb9115b0f9e4c04a9cae79fe0834a7692deaf9b7a7b96164bba943de6efce94dbeeb4d940b1b8feca2ad400bd62b6c935fa686a28b6bd9e9245d7d988f0 SHA512 97d6102649a37c1dfc9876834f2a36ebc69042cfcf70924a35fa38fdb892401c481c18f426ecbbb94059fbda7cf52dc3c06b5c72ed4d18a619803e1c77900bff +EBUILD clang-17.0.0.9999.ebuild 12029 BLAKE2B dbfa7cb9115b0f9e4c04a9cae79fe0834a7692deaf9b7a7b96164bba943de6efce94dbeeb4d940b1b8feca2ad400bd62b6c935fa686a28b6bd9e9245d7d988f0 SHA512 97d6102649a37c1dfc9876834f2a36ebc69042cfcf70924a35fa38fdb892401c481c18f426ecbbb94059fbda7cf52dc3c06b5c72ed4d18a619803e1c77900bff MISC metadata.xml 1600 BLAKE2B 8e49e099132445cf695e904acad8a699f3d8c4c1e4cd6ba9d0b97180dfa5b67e9c30b00d1e4cb6cd2f61b27f022accc8d6ee889c6569fc58fbc058186ad216fc SHA512 96b7cf4988ff1fd923ec87311caed458b64888b5acaaf20cc1ad893f2a963158f7f59398f9fd4f9e65cab3df265c0d002048ff874f7a76b94f36377bf9e8f5f6 diff --git a/sys-devel/clang/clang-13.0.1.ebuild b/sys-devel/clang/clang-13.0.1.ebuild index 5e10d595d900..c3a97feedae7 100644 --- a/sys-devel/clang/clang-13.0.1.ebuild +++ b/sys-devel/clang/clang-13.0.1.ebuild @@ -82,6 +82,10 @@ src_prepare() { eprefixify \ lib/Frontend/InitHeaderSearch.cpp \ lib/Driver/ToolChains/Darwin.cpp || die + + if ! use prefix-guest && [[ -n ${EPREFIX} ]]; then + sed -i "/LibDir.*Loader/s@return \"\/\"@return \"${EPREFIX}/\"@" lib/Driver/ToolChains/Linux.cpp || die + fi } check_distribution_components() { @@ -224,6 +228,7 @@ multilib_src_configure() { local clang_version=$(ver_cut 1-3 "${llvm_version}") local mycmakeargs=( + -DDEFAULT_SYSROOT=$(usex prefix-guest "" "${EPREFIX}") -DLLVM_CMAKE_PATH="${EPREFIX}/usr/lib/llvm/${SLOT}/$(get_libdir)/cmake/llvm" -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${SLOT}" -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${SLOT}/share/man" diff --git a/sys-devel/clang/clang-14.0.6-r1.ebuild b/sys-devel/clang/clang-14.0.6-r1.ebuild index de10ab36054f..5cdb584470ac 100644 --- a/sys-devel/clang/clang-14.0.6-r1.ebuild +++ b/sys-devel/clang/clang-14.0.6-r1.ebuild @@ -95,6 +95,10 @@ src_prepare() { eprefixify \ lib/Lex/InitHeaderSearch.cpp \ lib/Driver/ToolChains/Darwin.cpp || die + + if ! use prefix-guest && [[ -n ${EPREFIX} ]]; then + sed -i "/LibDir.*Loader/s@return \"\/\"@return \"${EPREFIX}/\"@" lib/Driver/ToolChains/Linux.cpp || die + fi } check_distribution_components() { @@ -234,6 +238,7 @@ multilib_src_configure() { local clang_version=$(ver_cut 1-3 "${llvm_version}") local mycmakeargs=( + -DDEFAULT_SYSROOT=$(usex prefix-guest "" "${EPREFIX}") -DLLVM_CMAKE_PATH="${EPREFIX}/usr/lib/llvm/${SLOT}/$(get_libdir)/cmake/llvm" -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${SLOT}" -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${SLOT}/share/man" diff --git a/sys-devel/clang/clang-15.0.7-r1.ebuild b/sys-devel/clang/clang-15.0.7-r1.ebuild index b7b9a4e0a274..578c01ab0ea2 100644 --- a/sys-devel/clang/clang-15.0.7-r1.ebuild +++ b/sys-devel/clang/clang-15.0.7-r1.ebuild @@ -86,6 +86,10 @@ src_prepare() { eprefixify \ lib/Lex/InitHeaderSearch.cpp \ lib/Driver/ToolChains/Darwin.cpp || die + + if ! use prefix-guest && [[ -n ${EPREFIX} ]]; then + sed -i "/LibDir.*Loader/s@return \"\/\"@return \"${EPREFIX}/\"@" lib/Driver/ToolChains/Linux.cpp || die + fi } check_distribution_components() { @@ -249,6 +253,7 @@ get_distribution_components() { multilib_src_configure() { local mycmakeargs=( + -DDEFAULT_SYSROOT=$(usex prefix-guest "" "${EPREFIX}") -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/share/man" -DCLANG_CONFIG_FILE_SYSTEM_DIR="${EPREFIX}/etc/clang" diff --git a/sys-devel/clang/clang-16.0.0.9999.ebuild b/sys-devel/clang/clang-16.0.0.9999.ebuild index 4979e95cd523..b45257440e78 100644 --- a/sys-devel/clang/clang-16.0.0.9999.ebuild +++ b/sys-devel/clang/clang-16.0.0.9999.ebuild @@ -85,6 +85,10 @@ src_prepare() { eprefixify \ lib/Lex/InitHeaderSearch.cpp \ lib/Driver/ToolChains/Darwin.cpp || die + + if ! use prefix-guest && [[ -n ${EPREFIX} ]]; then + sed -i "/LibDir.*Loader/s@return \"\/\"@return \"${EPREFIX}/\"@" lib/Driver/ToolChains/Linux.cpp || die + fi } check_distribution_components() { @@ -250,6 +254,7 @@ get_distribution_components() { multilib_src_configure() { local mycmakeargs=( + -DDEFAULT_SYSROOT=$(usex prefix-guest "" "${EPREFIX}") -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/share/man" -DCLANG_CONFIG_FILE_SYSTEM_DIR="${EPREFIX}/etc/clang" diff --git a/sys-devel/clang/clang-16.0.0_pre20230107.ebuild b/sys-devel/clang/clang-16.0.0_pre20230107.ebuild index f8a5211642c1..f6e6fd239ce2 100644 --- a/sys-devel/clang/clang-16.0.0_pre20230107.ebuild +++ b/sys-devel/clang/clang-16.0.0_pre20230107.ebuild @@ -85,6 +85,10 @@ src_prepare() { eprefixify \ lib/Lex/InitHeaderSearch.cpp \ lib/Driver/ToolChains/Darwin.cpp || die + + if ! use prefix-guest && [[ -n ${EPREFIX} ]]; then + sed -i "/LibDir.*Loader/s@return \"\/\"@return \"${EPREFIX}/\"@" lib/Driver/ToolChains/Linux.cpp || die + fi } check_distribution_components() { @@ -248,6 +252,7 @@ get_distribution_components() { multilib_src_configure() { local mycmakeargs=( + -DDEFAULT_SYSROOT=$(usex prefix-guest "" "${EPREFIX}") -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/share/man" -DCLANG_CONFIG_FILE_SYSTEM_DIR="${EPREFIX}/etc/clang" diff --git a/sys-devel/clang/clang-16.0.0_pre20230127.ebuild b/sys-devel/clang/clang-16.0.0_pre20230127.ebuild index 4979e95cd523..b45257440e78 100644 --- a/sys-devel/clang/clang-16.0.0_pre20230127.ebuild +++ b/sys-devel/clang/clang-16.0.0_pre20230127.ebuild @@ -85,6 +85,10 @@ src_prepare() { eprefixify \ lib/Lex/InitHeaderSearch.cpp \ lib/Driver/ToolChains/Darwin.cpp || die + + if ! use prefix-guest && [[ -n ${EPREFIX} ]]; then + sed -i "/LibDir.*Loader/s@return \"\/\"@return \"${EPREFIX}/\"@" lib/Driver/ToolChains/Linux.cpp || die + fi } check_distribution_components() { @@ -250,6 +254,7 @@ get_distribution_components() { multilib_src_configure() { local mycmakeargs=( + -DDEFAULT_SYSROOT=$(usex prefix-guest "" "${EPREFIX}") -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/share/man" -DCLANG_CONFIG_FILE_SYSTEM_DIR="${EPREFIX}/etc/clang" diff --git a/sys-devel/clang/clang-17.0.0.9999.ebuild b/sys-devel/clang/clang-17.0.0.9999.ebuild index 4979e95cd523..b45257440e78 100644 --- a/sys-devel/clang/clang-17.0.0.9999.ebuild +++ b/sys-devel/clang/clang-17.0.0.9999.ebuild @@ -85,6 +85,10 @@ src_prepare() { eprefixify \ lib/Lex/InitHeaderSearch.cpp \ lib/Driver/ToolChains/Darwin.cpp || die + + if ! use prefix-guest && [[ -n ${EPREFIX} ]]; then + sed -i "/LibDir.*Loader/s@return \"\/\"@return \"${EPREFIX}/\"@" lib/Driver/ToolChains/Linux.cpp || die + fi } check_distribution_components() { @@ -250,6 +254,7 @@ get_distribution_components() { multilib_src_configure() { local mycmakeargs=( + -DDEFAULT_SYSROOT=$(usex prefix-guest "" "${EPREFIX}") -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/share/man" -DCLANG_CONFIG_FILE_SYSTEM_DIR="${EPREFIX}/etc/clang" |