diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-07 03:12:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-07 03:12:12 +0000 |
commit | 4e0f61672a4cd8a3d8afc21e9afc2a7acd849976 (patch) | |
tree | 20cba6f816bb34fdd956935e64d4432ed2427c65 /dev-util | |
parent | d479c9c5c724c7b1300a98e44975f31f4f2e51dd (diff) |
gentoo auto-resync : 07:12:2022 - 03:12:11
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/Manifest.gz | bin | 69100 -> 69103 bytes | |||
-rw-r--r-- | dev-util/cproto/Manifest | 2 | ||||
-rw-r--r-- | dev-util/cproto/cproto-4.7u-r1.ebuild (renamed from dev-util/cproto/cproto-4.7u.ebuild) | 7 | ||||
-rw-r--r-- | dev-util/intel-graphics-compiler/Manifest | 2 | ||||
-rw-r--r-- | dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.12504.5.ebuild | 86 |
5 files changed, 93 insertions, 4 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz Binary files differindex 959e56b7cfed..41b946f701b8 100644 --- a/dev-util/Manifest.gz +++ b/dev-util/Manifest.gz diff --git a/dev-util/cproto/Manifest b/dev-util/cproto/Manifest index e523d5c2b7eb..cd72cae761e8 100644 --- a/dev-util/cproto/Manifest +++ b/dev-util/cproto/Manifest @@ -3,5 +3,5 @@ DIST cproto-4.7t.tgz.asc 729 BLAKE2B 9b668a41374d273263d535fb4dba5038a72f3ee3d0f DIST cproto-4.7u.tgz 183364 BLAKE2B 679cb2c41b396e363ebcf69c61c8b00448ddd27c4d1126b8d3eda1f1b429a7be42359d1b695b94dd1095b707d70a1b425930acc7d2998634159836e4a51ef953 SHA512 6ed7e98319cf2b8d701dcd0ccdbe29537e3b57725da527da1b3889edd696374728ae87cdda34c68314c3e3f80f10e5f99199771200ffb429091c91d378c672e9 DIST cproto-4.7u.tgz.asc 729 BLAKE2B 4120151f5ffcaf42c1134e8998cd767aab58c4f09bf488186829d96bdc44266273e89b96e1bcad3b84d998ca3d82c4b1bc7d9213f11790853d9fd2f4d0a7c901 SHA512 bdaa60edf0a04e15f2de61398d118efced4c25849d8d2a326e2ad21cd296b73cb6a809933476fcbe7b4471b297368c8090b31e725a9ab3081e334a06c2282753 EBUILD cproto-4.7t-r1.ebuild 685 BLAKE2B f51d024f8454f1c4af6a7cc8c602f6cf42f04d6aad04d9c7997518e38d8c66a54b458ec8e90ae13431a13111036b9992ba25eb4129b30d0c00b3fd1a1596608f SHA512 365f226b2d5bc23b1d75aba3f7b8c198d06db544da46e3cf00174bc01315ab44485a006b5ff22578d8402668c503aa7835696649390d4b8a6fa89ef2536ff19d -EBUILD cproto-4.7u.ebuild 688 BLAKE2B 083e229229bdbe9e04e91aa40c4b6570bcc4ccbc84bfd3405bcff700ad36166aa91ac015bccecf99183d802a56cb0232b7d0fbd2abd039db73546aa79580383b SHA512 dc561855af188d508e31c86b805acfef3483bdc146ddda4dd026f3824b3f952f59a6d9de3fd8842773103570f3be3735533624725698fbea9757e18a08a34865 +EBUILD cproto-4.7u-r1.ebuild 716 BLAKE2B cd9de93f6b1407aa7f0b1a3fcf2b9c29fccdd22140e4ca6df6a59310540b736503977ed523902d1ee9d0193468fbafa90ff6cbefbc21da5bf803ea615d11dfc0 SHA512 170cfedf8d55a2cdae5c7f7f92cd2af7002e7c1b1edc24d4eec8dcf44a7ac302f5bc23c2c852976afd7fb7e26a73f33488439245634bd330006f378bff535de7 MISC metadata.xml 336 BLAKE2B 45d3b05d925b08b4b9ba679e197b059295c82cfe43bdae1e99739c0f6887c0639845a78d889327f736aaec542fcab50c415f8711b64db58affee810088eefb0b SHA512 7284fa1ca3610bbbf0ac1ed50a23c1b09155ce124eb8d70dce99bac08bafc56f2396aa06e085ffc559ddc0153e94d1e9e6c7c6e5e01a2ee8d392ef1af0a279e6 diff --git a/dev-util/cproto/cproto-4.7u.ebuild b/dev-util/cproto/cproto-4.7u-r1.ebuild index 065167dec606..30f8f696e3d9 100644 --- a/dev-util/cproto/cproto-4.7u.ebuild +++ b/dev-util/cproto/cproto-4.7u-r1.ebuild @@ -15,8 +15,9 @@ LICENSE="public-domain" SLOT="0" KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" -DEPEND=" - sys-devel/flex +DEPEND="app-alternatives/lex" +BDEPEND=" + app-alternatives/lex app-alternatives/yacc + verify-sig? ( sec-keys/openpgp-keys-thomasdickey ) " -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-thomasdickey )" diff --git a/dev-util/intel-graphics-compiler/Manifest b/dev-util/intel-graphics-compiler/Manifest index 79525387da98..f3e2eb1fd611 100644 --- a/dev-util/intel-graphics-compiler/Manifest +++ b/dev-util/intel-graphics-compiler/Manifest @@ -3,5 +3,7 @@ AUX intel-graphics-compiler-1.0.8173-opencl-clang_version.patch 1807 BLAKE2B ec6 AUX intel-graphics-compiler-1.0.8365-disable-git.patch 1140 BLAKE2B f870def1128c30c3e50a71e9eac39eccbcc9bc798be574324016c6c31ed3a3f82e1499f1aada5a2c475bd6b6c467b1b236635fdd6b5145904bc63dc53f8d75e5 SHA512 d1d53a6f4a47031ec4cdcf3f57c059536ccf571a72929da3d9070487686f91f4202d20c4d626da616250f66b31815b61fafa82b903b1f5157a226ee748097bda AUX intel-graphics-compiler-1.0.9-no_Werror.patch 272 BLAKE2B 079fe334413dfddb7681940f2a8920a365e8e72526cfc09ea1c7d218e8b19468f80ea9a215be125b441ee5238d7856b8dec02ebfc4bfd76b1850aa9917da35ef SHA512 d3d27943e84e228b480172b4fe91ba9aed8bb1c98700eb8c8beebafb7f1cc6265279031f56181e67eff74f55e1bbc8ee24bdc4d14fc1200c5aff670ef019410d DIST intel-graphics-compiler-1.0.12260.1.tar.gz 8887984 BLAKE2B 626b5f2bd189ba9b2933b9d65227ca1552484f73f7398b2a763744d21a4ea189987e4eb08e9e7f09898fb49568b59a2c45298363495c1759fec9927a95cf4478 SHA512 4223e9c8213c7e6cf3539d955394a0a4a39cb8d2114ce18ccaeeb0b36a91ca6fc6a314fa9d9db24929fa7cd6b86ff8b82f369f35dd80e5df49b23ac9cd3a519b +DIST intel-graphics-compiler-1.0.12504.5.tar.gz 8941924 BLAKE2B 6441cc50c2449524c800c73736f8963bc0011c6b87eefa03575cf09d00a8e812c9961bd50fb9801b77452da2d993e76196beb0a2093a249a87d7182e1c1e8707 SHA512 32a94b213a591f9ceb8ca08674c9fb8994b50818c51a6bfd412c4cd30bb9433b938eb7b49ba0afac9f2900a3dcbc7dd79e3e66fb444c7fd5723b6b50c5d1ab89 EBUILD intel-graphics-compiler-1.0.12260.1-r1.ebuild 2502 BLAKE2B 80d5e154cde0ed1f77876e088f0f2ad2efd734ecc898004d7c91876d73b1d990adb1009efe2ae3f46ec3046f1a1e69a7cbdc75533a2b90d6a85e7296bf34d296 SHA512 e5b5aa14e1c1ccb60f73efe090d0f228e3d751dd5f32d9a618ecec939d75782456704c293c98b189b5c98f933ccc9a49156590dd64e69ab6f6bb544ca911d229 +EBUILD intel-graphics-compiler-1.0.12504.5.ebuild 2503 BLAKE2B a12ab9934b62bdbde59f421544e9b9f6e01e72a19a6819048745419beaf6269a4e343ee27da1fe1474620ad1669fd2f86d9a9691c414a270ae36fe118d8640d2 SHA512 c0d4d5b5579dac3909bf97c8af495346c5e5dd902a5e5e47e9409f5155082ad1450874417a015731b2354fc4879408ac1e445bd2fff4aa0c79ddf56268c28693 MISC metadata.xml 594 BLAKE2B de9f434fc853417b9d1c6199c7501c9fe702aa68b0eaa0f88d298563431de126fbdc259f0d541e85674b0205444f5d1febf0433b292a6ac40661d62af23457d8 SHA512 b939b315122a5fe3252242ccab8fbf049d9234ee67c6910969c178bcb56fc835bc954380f8c15bab23905ac852fa0fe0640f6ef2ee9d48502ae0e3379d7f7460 diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.12504.5.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.12504.5.ebuild new file mode 100644 index 000000000000..5d6a7abde11f --- /dev/null +++ b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.12504.5.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_BUILD_TYPE="Release" +LLVM_MAX_SLOT="14" +MY_PN="igc" +MY_P="${MY_PN}-${PV}" +PYTHON_COMPAT=( python3_{8..11} ) + +inherit cmake flag-o-matic llvm python-any-r1 + +DESCRIPTION="LLVM-based OpenCL compiler for OpenCL targetting Intel Gen graphics hardware" +HOMEPAGE="https://github.com/intel/intel-graphics-compiler" +SRC_URI="https://github.com/intel/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="debug" + +DEPEND=" + dev-libs/opencl-clang:${LLVM_MAX_SLOT}= + dev-util/spirv-tools + sys-devel/lld:${LLVM_MAX_SLOT}= + sys-devel/llvm:${LLVM_MAX_SLOT}= +" + +RDEPEND="${DEPEND}" + +BDEPEND=" + =sys-devel/lld-${LLVM_MAX_SLOT}* + ${PYTHON_DEPS} +" + +PATCHES=( + "${FILESDIR}/${PN}-1.0.9-no_Werror.patch" + "${FILESDIR}/${PN}-1.0.8173-opencl-clang_version.patch" + "${FILESDIR}/${PN}-1.0.8365-disable-git.patch" + "${FILESDIR}/${PN}-1.0.11485-include-opencl-c.patch" +) + +pkg_setup() { + llvm_pkg_setup + python-any-r1_pkg_setup +} + +src_configure() { + # Get LLVM version + local llvm_version="$(best_version -d sys-devel/llvm:${LLVM_MAX_SLOT})" + local llvm_version="${llvm_version%%-r*}" + + # See https://github.com/intel/intel-graphics-compiler/issues/212 + append-ldflags -Wl,-z,undefs + + # See https://bugs.gentoo.org/718824 + ! use debug && append-cppflags -DNDEBUG + + local mycmakeargs=( + -DCCLANG_INCLUDE_PREBUILDS_DIR="/usr/lib/clang/${llvm_version##*-}/include" + -DCCLANG_SONAME_VERSION="${LLVM_MAX_SLOT}" + -DCMAKE_LIBRARY_PATH="$(get_llvm_prefix ${LLVM_MAX_SLOT})/$(get_libdir)" + -DIGC_OPTION__ARCHITECTURE_TARGET="Linux64" + -DIGC_OPTION__CLANG_MODE="Prebuilds" + -DIGC_OPTION__LINK_KHRONOS_SPIRV_TRANSLATOR="ON" + -DIGC_OPTION__LLD_MODE="Prebuilds" + -DIGC_OPTION__LLDELF_H_DIR="${EPREFIX}/usr/include/lld/Common" + -DIGC_OPTION__LLVM_MODE="Prebuilds" + -DIGC_OPTION__LLVM_PREFERRED_VERSION="${llvm_version##*-}" + -DIGC_OPTION__SPIRV_TOOLS_MODE="Prebuilds" + -DIGC_OPTION__SPIRV_TRANSLATOR_MODE="Prebuilds" + -DIGC_OPTION__USE_PREINSTALLED_SPRIV_HEADERS="ON" + -DINSTALL_GENX_IR="ON" + -DSPIRVLLVMTranslator_INCLUDE_DIR="${EPREFIX}/usr/lib/llvm/${LLVM_MAX_SLOT}/include/LLVMSPIRVLib" + -Wno-dev + + # Compilation with VectorCompiler causes currently a segfault. + # See https://github.com/intel/intel-graphics-compiler/issues/236 + -DIGC_BUILD__VC_ENABLED="OFF" + # -DIGC_OPTION__VC_INTRINSICS_MODE="Prebuilds" + ) + + cmake_src_configure +} |