diff options
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/Manifest.gz | bin | 10490 -> 10488 bytes | |||
-rw-r--r-- | sys-devel/gcc/Manifest | 4 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-10.4.1_p20230316.ebuild | 58 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-12.2.1_p20230121-r1.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/mold/Manifest | 6 | ||||
-rw-r--r-- | sys-devel/mold/mold-1.11.0.ebuild (renamed from sys-devel/mold/mold-1.8.0-r1.ebuild) | 2 | ||||
-rw-r--r-- | sys-devel/mold/mold-1.9.0.ebuild | 89 |
7 files changed, 65 insertions, 96 deletions
diff --git a/sys-devel/Manifest.gz b/sys-devel/Manifest.gz Binary files differindex 8005369805d2..82c8db06100a 100644 --- a/sys-devel/Manifest.gz +++ b/sys-devel/Manifest.gz diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index f9b676733085..49ab1fc47a47 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -3,6 +3,7 @@ AUX gcc-configure-texinfo.patch 341 BLAKE2B d2ea3b2ea08f5d3a498ba27d0fb95e325097 DIST gcc-10-20230119.tar.xz 72112952 BLAKE2B 6e28cba9f6ff5c9f9231828bb400c82b8658a4f9c0166c28a6a12d71728d4460904152a8c84bbeff88c06b7f9378937b7b61bf4a871a10c56bd005170dc5fde2 SHA512 6cbb567ef1da1b6fa65892b6e71c3b7cd37e0c483e049720ea1987d444a0e7b4eb15d1e99f4e35995acdce560a811a779574eeba52bb252c61325accedd6a5c5 DIST gcc-10-20230302.tar.xz 72112120 BLAKE2B 8647639d9c6aef31b63566b006bb2980ca974e4aac4f5ced5f12a4f7fe0e9bda1e456d31f13dc478ab187d5e739ac850dd7dcc9db421ece1cadc50c952dbbed4 SHA512 97f72699b1a38de0dfb95253dc1602400fb05c2466b3682e51a4793d17db62e1d55b8d19211c3326e5369aace2a74345059b4b1c1a61a1f2c1c75a0aa9ec3e0e DIST gcc-10-20230309.tar.xz 72121328 BLAKE2B 6dfcd9278c0909cd4f75835d8da584374f063767b68524cb956bb35b8b16abee78f3770c84dbd19bb5c28a0d1d69011e6c33abfaa7ea5e6688e15eaaf1820be8 SHA512 a54a39b418203185c58f76fffa9a61a8c14ac16a2aaa5eaf312d9a90ea9a51c5e7f3398a25e04dc5ffc6fb589141f4aeb0ca110a478276b4027631d1bb9f9c6c +DIST gcc-10-20230316.tar.xz 72129548 BLAKE2B 72b5d9bf3f98bdc961d3f9e6361edcf51f7b7866c64cfd158a15a7a0b045d0cff00f185bb1da85b0cf95df5fb73ce6109a8bf0eef0bb1018970754c22d41c827 SHA512 13787d3ce14ffdc7f277263237364b0493aeb88115cdf8d100ab35e9abe08d4c845a90cd78b1c138286beef991079f3b42bb4fcf720284dff1b34606ead59ccc DIST gcc-10.4.0-musl-patches-1.tar.xz 3808 BLAKE2B 804d1fcc451dcd03be71240dd498ec2d179869571d44012967c48dccf5a478dd8c55000a964a80fdd5584d739a777dee1c83241cffce514ef002df2572854a67 SHA512 83e4a9c0f7062baf0c606a2bcc56a818494991403d7577dea65f04bbc25bdb786a5889b80d45d80e7f4be07c1aef786802cbfcfafd1a17ec255a2d4e93a77570 DIST gcc-10.4.0-patches-5.tar.xz 17056 BLAKE2B f336d69a8ad105b8c4a84e8248a5b8a88175d3f1d67d32c6bee1780d252d86947059bd624992e6292610e86c9012f4d901a1a54df0d184dd023d404a0707700e SHA512 aa8fb42f20587f8519e7b06037da4d8f7d386b63e228b239a0445a51df4e401940fcd81482381d966622054aef3e0db06d1def5c74ac3d3dcc9c75c3b966c758 DIST gcc-10.4.0.tar.xz 75018092 BLAKE2B ec1169025d3896b70ab80a4b8ce5040763a95529fc7e120c6bc3a3eb1db5cf938ebde347c1e595a8ff7d4081e79ded6252702d7a1a09648449b7a0783188e434 SHA512 440c08ca746da450d9a1b35e8fd2305cb27e7e6987cd9d0f7d375f3b1fc9e4b0bd7acb3cd7bf795e72fcbead59cdef5b6c152862f5d35cd9fbfe6902101ce648 @@ -40,6 +41,7 @@ EBUILD gcc-10.4.0.ebuild 1445 BLAKE2B 05518ec2cdf0180f4db63dcab413097ca777381b49 EBUILD gcc-10.4.1_p20230119-r1.ebuild 1447 BLAKE2B 645584f005ea2c00aafb7d688c308eb353301561c14e4f1b8f6b2fba9ef645cdf88772ef2713314b596234cbca085bfae074dd3eb391b9668f3a841f4e840edf SHA512 b6ee5ab2ac7f7af53267604af3da1a48baf10b66374afc6661c9ba237dc6da218c6627b0d73b66a520a956d895bded906b10a300fe35fbcb293f6b20af42a27f EBUILD gcc-10.4.1_p20230302.ebuild 1453 BLAKE2B fe070759433bfc4d214d0d14eb8998d78830420b5008d5dd7a4dc2acb5db1f3ce549a3558b884fb474831eff097ad4a0c8f7366730bda54c9ffefcc0772fbcee SHA512 2f4e1da8d8aacb17cab60fc1d215e06d72968dadb81808e9cbe2d2e80c7a0e5ef426e6bfb6d847898d7dede47dc6a715c299bf6dbca24e93bb4574437c88a632 EBUILD gcc-10.4.1_p20230309.ebuild 1456 BLAKE2B 44855d5d880bb6391a140d4212b9c92c3a0e056622380e830104aaa2146d6c1fce51690c526b1e45a7a94833c2efef6de3781567cbf0e4c1182e9de28a9bd853 SHA512 0bf4a44a5cc89f6f04ed129a24dc8b9fed0c4211fee0ff2e9e343b04e71432b053acd022374dae96096cbd65c5e9f05f7b65919a6597c85b0295f5aa1b01903e +EBUILD gcc-10.4.1_p20230316.ebuild 1456 BLAKE2B 44855d5d880bb6391a140d4212b9c92c3a0e056622380e830104aaa2146d6c1fce51690c526b1e45a7a94833c2efef6de3781567cbf0e4c1182e9de28a9bd853 SHA512 0bf4a44a5cc89f6f04ed129a24dc8b9fed0c4211fee0ff2e9e343b04e71432b053acd022374dae96096cbd65c5e9f05f7b65919a6597c85b0295f5aa1b01903e EBUILD gcc-10.5.9999.ebuild 1108 BLAKE2B 2db612df53fbaec59c707acb56bac804a4ee797d156ea3dfca6396d27268385f1d5177c44bd58a926c981ab1c0c7b7adf5e4ea060a65a9e84e7f8ed1713701b0 SHA512 5193d1f4359ef8963645d25150731ab1929801eae16e94ddef3fb0169ed365d2ac43765a2d4848966508144e121b8b24feccbe66f59ee9363764d5a3db79f946 EBUILD gcc-11.3.1_p20221209.ebuild 1286 BLAKE2B 858c85e2f1d3b08ed7df5b1ab5278b615267b97618a16412f1c5b52e3ac52e553fbbc946e346a0ccbbfa18665303541be8c6f0306502c1e52b91be65728ebc50 SHA512 0fbf7deeb7df4aaa8a24d7c691b7413c9003e5bd208893921fb97d6393412dbaedf51c2be1d6cd3d05f90984a7bfd545c8f5dbfad996c158451be25bdb9f062b EBUILD gcc-11.3.1_p20230120-r1.ebuild 1288 BLAKE2B 2cdae6459f524b1dc5c1d402e2545fd9d173439d779568a6aebb6505a374834eeeb430fdd51ec77185c2376ab6a5d010b4c0430327f84637fb605ebf12f2be64 SHA512 1ec111015625ce45b7cdd8217f914a9c38d708ff2e8c4166ea99d23aea81595778f988811a354bb86e5afb45f328ac00d90bfd1cba74582a171be54fb2eab864 @@ -47,7 +49,7 @@ EBUILD gcc-11.3.1_p20230303.ebuild 1294 BLAKE2B f92472b6546e7a63d90b2b0d89eff6a9 EBUILD gcc-11.3.1_p20230310.ebuild 1297 BLAKE2B 7a656bdb86e1b0e787274cf2a52a4446f62dcbf18d3f396e350cce814075986603b55358ca3dcae03baf8399fd2ce96b0aaf887ec5a206ae387e6419ee6d36a1 SHA512 1a1f4b874737e38cbbc8130a4bfd08d71ed1fbd9f0674586c67130acff68e00eabb595e7021b7276b25c42b56a6627291eda2ba88c39f0513d98819a307f7f5f EBUILD gcc-11.4.9999.ebuild 1267 BLAKE2B 09a26812068945e11164d0a4f8f5cc10dc261a20a647fd4102decc83eecbbe8fcc7f38093609314fa1f26c46164e8248aede741880f7cff64dd5a94836765fa2 SHA512 4ecf698cd6e96dc08683a0e9b69936cdd9085c300d330fb9830cee0e38783e0a1fc8409db39159f9b247f28fc5d7d7572ad3e975f3951f1cb8537f49886bdcde EBUILD gcc-12.2.0.ebuild 1434 BLAKE2B 6d074d9c9e2bc3ea20812064a12dbfe53a597e841f32de9a1153e4a0221c0dd66018451fea7c8780fc93370e6c0afeac5dd9539b7a49bf1344fd6ca21f7e8729 SHA512 bff836355012cdae58e473c90b93c9cb9d627c899cd2a9843156d7270029c37dff8d9ba6f12ce304b78fa58ec7d1bdfffb4420d66331bab206b7862251fd17c6 -EBUILD gcc-12.2.1_p20230121-r1.ebuild 1429 BLAKE2B ff9a7a13e5c5fc57defe20f2cb0c08a679eb34007e780694b7d3ae03e630c7ab8ec419d9aee3239042ec32f07829b0b0e0a2252b23880c6d3221d9ac28343121 SHA512 a888e5184edc997ced6ccd751bc0ad36c2f438042cb4f59e2d9ba0d9949d4609f81d674d03d8ca8be8c86004e5e1a6a627498eaba534d343bbb17edce09ab61c +EBUILD gcc-12.2.1_p20230121-r1.ebuild 1428 BLAKE2B d56ab522d3310613451860fe16e8358af342f43b42636f6b887307863960302b162c9a4661301f05f3a047641adbe39b16bcfbca9531daab9d8e7e0fc7de27a4 SHA512 b3435ccb29888230712c63c506eed39bd5dbc32ec832a36b9c31c25fd59f2f1faccefe179fc960ec47e41c252e13a3d11cca540dea2d89d986c36ac041b0ab5a EBUILD gcc-12.2.1_p20230304.ebuild 1435 BLAKE2B 463c67567e8f2b1a480036dc5e0507418470f47898134cc2d45b88cf508d0953c0df5355651e4a52c8b312a3ae1951fa185a12c700d9c77e8e017db9e42e1955 SHA512 9d53d088c9f04dbf54d1c7652e9f0282ee7d0cf54b9a710fd1ce471b15963851fb729bca61d73ac735af0d9e83e38b3811609a21f4af3a7e8c30f116cb07c90f EBUILD gcc-12.2.1_p20230311-r1.ebuild 1438 BLAKE2B c6ded0f0fb07a0f6498edeae751caeb11bab8cfdd842944c117a1fb8bfb5f6d6f98947ecbf9dbf7f797c8630516cd32e1c55f8be72e6e3b71a9456a4d0e0eaec SHA512 6fb6a42195d04dd46b7d6a5a3e3180d907394f662310506a7b31e589095dea29af832c0f084324434b822ee0368ad6790270db3ccec775338c14ebef647fcf19 EBUILD gcc-12.3.9999.ebuild 1545 BLAKE2B 78fdc4a7b20d22bba137cba00e49d2249c5616bf1c4cf619162da1d98c750fb3da71fbb1cd4e136624cc4e0a112547e6c4c29992aa58ab12507917c7d728831a SHA512 f3562696a79035e64b8e79cee720fe24c7041bf922d79e5cff1ae864a533997995465d0871bfc4f87f6d5a66e7f8ac02c490792554a0628ae30d96a061ef9279 diff --git a/sys-devel/gcc/gcc-10.4.1_p20230316.ebuild b/sys-devel/gcc/gcc-10.4.1_p20230316.ebuild new file mode 100644 index 000000000000..07a2b5e91ab4 --- /dev/null +++ b/sys-devel/gcc/gcc-10.4.1_p20230316.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +TOOLCHAIN_PATCH_SUFFIX="xz" +TOOLCHAIN_PATCH_DEV="sam" +#TOOLCHAIN_GCC_RC=1 +PATCH_GCC_VER="10.5.0" +PATCH_VER="5" +MUSL_VER="2" +MUSL_GCC_VER="10.5.0" + +if [[ $(ver_cut 3) == 9999 ]] ; then + MY_PV_2=$(ver_cut 2) + if [[ ${MY_PV_2} == 0 ]] ; then + MY_PV_2=0 + else + MY_PV_2=$(($(ver_cut 2) - 1)) + fi + + # e.g. 12.2.9999 -> 12.1.1 + TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.$(($(ver_cut 3) - 9998)) +elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="https://gcc.gnu.org/pub/gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain +# Needs to be after inherit (for now?), bug #830908 +EGIT_BRANCH=releases/gcc-$(ver_cut 1) + +# Don't keyword live ebuilds +#if ! tc_is_live && [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then +# KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +#fi + +RDEPEND="" +BDEPEND="${CATEGORY}/binutils" + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + if has_version '>=sys-libs/glibc-2.32-r1'; then + rm -v "${WORKDIR}/patch/23_all_disable-riscv32-ABIs.patch" || die + fi + + toolchain_src_prepare +} diff --git a/sys-devel/gcc/gcc-12.2.1_p20230121-r1.ebuild b/sys-devel/gcc/gcc-12.2.1_p20230121-r1.ebuild index 148aa2769b3f..fff578a4285b 100644 --- a/sys-devel/gcc/gcc-12.2.1_p20230121-r1.ebuild +++ b/sys-devel/gcc/gcc-12.2.1_p20230121-r1.ebuild @@ -35,7 +35,7 @@ EGIT_BRANCH=releases/gcc-$(ver_cut 1) # Don't keyword live ebuilds if ! tc_is_live && [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" fi # Technically only if USE=hardened *too* right now, but no point in complicating it further. diff --git a/sys-devel/mold/Manifest b/sys-devel/mold/Manifest index 254ce7069792..8b593b5ece3e 100644 --- a/sys-devel/mold/Manifest +++ b/sys-devel/mold/Manifest @@ -1,8 +1,6 @@ DIST mold-1.10.1.tar.gz 8173701 BLAKE2B 142b4ec6297f1d4eb7576d16603a214244216592df7320639da3fce32890fc3d13e681dcb79ed23e4c0c7dba1f97eb10c622052c67787b6699925ae67ddb1d15 SHA512 b9df5ddc3a3a022523506638309373c3440128f3c702a7db69c44c180177148e92fbf73347be0c4e0e890395cfb2a5b12d2650ee267f9f58212ccfa981519bbf -DIST mold-1.8.0.tar.gz 8155820 BLAKE2B cd4285953ec56fa437d32c74b928617a50508c0b947dd0c0a3fac6813d7b929d9499f24aa2641faab78d5e81fbced48d734389c61313d752f509d25d2e1f9c61 SHA512 923158563c7abd39c7111e3871a90c7f6f17e0b2412c5de0c9924f3fb55d7fe57db4a83d8a20c3d4966b7b117d1c95cf4a59f63d5076db422b9aa5c3485fd7f8 -DIST mold-1.9.0.tar.gz 8163212 BLAKE2B 09ce66e4214c184ea2f36720bc0f839f77ff2a708d56a5767d29758d62310eaf1193394d581c4352404958052c29c0cbc55a4826d10285beda50afb20bd51c80 SHA512 c1c45bced963d4f7c9b67905177157d6f76c518b234fe3eefa2a9ba6c35a08dd6659e64b7939744355ebcd72ae343ef0249ef6a0c80b4d77b1e69e327eb3ba19 +DIST mold-1.11.0.tar.gz 8210923 BLAKE2B b3854a14a956dd568625fc28c96636e7cadf81b9a93954601b03e249db0aedf726a5a1f24c0758c8189a936501ebb778b472ee6e958fe9f43cb3c3093b2dda2a SHA512 a9068600dd2db757552cce027f358c0b9e6af0941b92f81c1e99e2dde674bd06cc3533d432258e42a2197d9b3f8e7bb263de281928357a79e4fb17fb19719bc0 EBUILD mold-1.10.1.ebuild 2161 BLAKE2B 3ac1e9728556c58694e7ff460a49f5a6c3eaaf792c03aee0e4daa85ab74e4680550fa1c3253634c254a31e76a77792e0be7c1c4910533825f06bc719a1b9bbda SHA512 4d88a364d1e4c78bdb875861b1bdea5a848370199af5ecf05e2f8474433ee72d3f75e16f10445f5d17b994a45efd9e3a7860d5bda96ae5f938d575be0faec60d -EBUILD mold-1.8.0-r1.ebuild 2154 BLAKE2B ac12a67360e593048accf196631d268fe808f46689e5dda5f27d9caefa6f28f35db45c41283bbdf40b2ef1becac6fe0e9102a2dd70c1208e5a45ab573d75f5f3 SHA512 5ade48864229c969e4eaf7362dc18ae69284031f88a4ddf8dbd63c7230ec0274e0ad07d55df281c71c25f3329ba438ca2b51c10fee7680511e7685343e81594e -EBUILD mold-1.9.0.ebuild 2155 BLAKE2B 9f586543589a88bfb8d865cba4b05e439936208f728f81da755adffa292190680f1a7e4a13f18cc73c161f70c3854b944796778c21109ca9231f1ad06edbff69 SHA512 0fd9723aa2a0e01881d2a8bc91c3d771ac973f1a2aa7f13689450a6ade2f352f5c79791e8d4456aa637f7c4afa1620b60d03f76bd3fafeaee418aceb86f66d72 +EBUILD mold-1.11.0.ebuild 2162 BLAKE2B 79d8291fbbc5375c36533f89721acce29bdda4c3502ce9fa5202defb1c6134c605995b471014831d7f13824eafcc446f75ee8a50c6a0f161899c08af8e307bc9 SHA512 281278811781fb9342d171a716d14cfdbd84e3b2172563daf126ac8da1bd89dbedd536e4bde9f2801a8656f34ca72147a7be0e0336e23ea1892d137f3452958f EBUILD mold-9999.ebuild 2162 BLAKE2B 79d8291fbbc5375c36533f89721acce29bdda4c3502ce9fa5202defb1c6134c605995b471014831d7f13824eafcc446f75ee8a50c6a0f161899c08af8e307bc9 SHA512 281278811781fb9342d171a716d14cfdbd84e3b2172563daf126ac8da1bd89dbedd536e4bde9f2801a8656f34ca72147a7be0e0336e23ea1892d137f3452958f MISC metadata.xml 424 BLAKE2B a1c0cbdcb86c323fa1e6143c9665ec548f7713e74002a25b2fc26c51b60dae00922d3448a5aaecd5027a8cb026a681386ca7dea90657a3e10b25fb194dafc0d3 SHA512 1adc934e78ca0210743a1aa7479ebc4b5ea0b66a348c4408423460f02b404b885d3a8eca6e89ea8ac53ac9c76e85116965f1eef79e3f3e1f0451c8cf5ce0dfd6 diff --git a/sys-devel/mold/mold-1.8.0-r1.ebuild b/sys-devel/mold/mold-1.11.0.ebuild index 11b57176b2ba..ea88934048d6 100644 --- a/sys-devel/mold/mold-1.8.0-r1.ebuild +++ b/sys-devel/mold/mold-1.11.0.ebuild @@ -12,7 +12,7 @@ if [[ ${PV} == 9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/rui314/mold/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~riscv ~x86" + KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" fi # mold (AGPL-3) diff --git a/sys-devel/mold/mold-1.9.0.ebuild b/sys-devel/mold/mold-1.9.0.ebuild deleted file mode 100644 index 8063ade34f39..000000000000 --- a/sys-devel/mold/mold-1.9.0.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="A Modern Linker" -HOMEPAGE="https://github.com/rui314/mold" -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/rui314/mold.git" - inherit git-r3 -else - SRC_URI="https://github.com/rui314/mold/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~riscv ~x86" -fi - -# mold (AGPL-3) -# - xxhash (BSD-2) -LICENSE="AGPL-3 BSD-2" -SLOT="0" - -RDEPEND=" - app-arch/zstd:= - >=dev-cpp/tbb-2021.7.0-r1:= - sys-libs/zlib - !kernel_Darwin? ( - >=dev-libs/mimalloc-2:= - dev-libs/openssl:= - ) -" -DEPEND="${RDEPEND}" - -pkg_pretend() { - # Requires a c++20 compiler, see #831473 - if [[ ${MERGE_TYPE} != binary ]]; then - if tc-is-gcc && [[ $(gcc-major-version) -lt 10 ]]; then - die "${PN} needs at least gcc 10" - elif tc-is-clang && [[ $(clang-major-version) -lt 12 ]]; then - die "${PN} needs at least clang 12" - fi - fi -} - -src_prepare() { - cmake_src_prepare - - # Needs unpackaged dwarfdump - rm test/elf/{{dead,compress}-debug-sections,compressed-debug-info}.sh || die - - # Heavy tests, need qemu - rm test/elf/gdb-index-{compress-output,dwarf{2,3,4,5}}.sh || die - rm test/elf/lto-{archive,dso,gcc,llvm,version-script}.sh || die - - # Sandbox sadness - rm test/elf/run.sh || die - sed -i 's|`pwd`/mold-wrapper.so|"& ${LD_PRELOAD}"|' \ - test/elf/mold-wrapper{,2}.sh || die - - # static-pie tests require glibc built with static-pie support - if ! has_version -d 'sys-libs/glibc[static-pie(+)]'; then - rm test/elf/{,ifunc-}static-pie.sh || die - fi -} - -src_configure() { - local mycmakeargs=( - -DMOLD_ENABLE_QEMU_TESTS=OFF - -DMOLD_LTO=OFF # Should be up to the user to decide this with CXXFLAGS. - -DMOLD_USE_SYSTEM_MIMALLOC=ON - -DMOLD_USE_SYSTEM_TBB=ON - ) - cmake_src_configure -} - -src_install() { - dobin "${BUILD_DIR}"/${PN} - - # https://bugs.gentoo.org/872773 - insinto /usr/$(get_libdir)/mold - doins "${BUILD_DIR}"/${PN}-wrapper.so - - dodoc docs/{design,execstack}.md - doman docs/${PN}.1 - - dosym ${PN} /usr/bin/ld.${PN} - dosym ${PN} /usr/bin/ld64.${PN} - dosym ../../../usr/bin/${PN} /usr/libexec/${PN}/ld -} |