From b6d14cb5db40c2c8f80450b9ac2288d71b49ad68 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 25 Oct 2019 23:16:40 +0200 Subject: Fix some old packages --- dev-libs/pocl/Manifest | 2 ++ dev-libs/pocl/pocl-1.4.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 dev-libs/pocl/pocl-1.4.ebuild (limited to 'dev-libs/pocl') diff --git a/dev-libs/pocl/Manifest b/dev-libs/pocl/Manifest index 6c2e2a9..11d4f40 100644 --- a/dev-libs/pocl/Manifest +++ b/dev-libs/pocl/Manifest @@ -1,6 +1,8 @@ AUX vendor_opencl_libs_location.epatch 1099 BLAKE2B bbef79afe947160f0a1ab2357206511176f02cd1c955399d029ba9641f6dfb6728294d601dbffb4162dc3071fd956ff53c5c4117dc4e094435bed64b5e0eb016 SHA512 8309619b6a232dab53f9fb40925f6925671a8a40754c7f8626a0edad69e84bcde7c4222513752aa6c7516cd9b65bb0164d816ac76d6c4254563b0f893fda7685 DIST pocl-1.1.tar.gz 1545659 BLAKE2B cda94315724dbf22aa539c45a31ac32880ba905d49ecc1be1e08bb67cb87e417da2e1117146d344a6dcd4f3e5a90ade77992be1dd6c94fb7a8999f18cd3523ab SHA512 f785d1a8bbceab86ae220c0c78dc81fc292333ac30bc02cf627aca02d9efc9f659d97c26c227e7ba66fa56d8abdcb23df2d100e5bc4d5c670c48646edefa19af DIST pocl-1.2.tar.gz 1603374 BLAKE2B c08c532badc86afa7b8e87fd8adfc7a5959211e35726faf519ef1581ef45f9cd1640aa8719cd5fa8124309cee58d04bfd5fdf4d54528a785f559ddd348b45a4b SHA512 c765fe02f220f707d2e46edfb2782195dc987bd984aeb7f3d14dd767cd96944ffba85c7276415f7b4471de5d1a9c9a0d3ed4285c1c3955ef581aa935a5a0eaa0 +DIST pocl-1.4.tar.gz 1560972 BLAKE2B 7af82fa53a3f354961bec2a89ab3e23dee6ca02bf5497bc4fbeb84ffcda93683465a1a66e7f7d9c1b11ddf96fbe94bd82a8bf3774826fbddf7e02fdba34dd41f SHA512 ef4911638c76d988c120b69a991e54773a6b8bde49433c2e0f1703c374fa65a4fa64ebcaec94569863458032c17d8cb9879dc501b7e3a43b2c24524bce1b6098 EBUILD pocl-1.1.ebuild 585 BLAKE2B 900ac15f1b8d7e66f34a7a30274e2ee5270cbe2230318bf700230320fac1712ac5b2a8c7c9674df97ef9ca55e8d73465d52affb3cbb08217eeb68209a52e9fd1 SHA512 f6b5f74b2b87185c926dbf5e87c779270604f65f7ec5271936f1bfbe7151f1bd8a42ebfe247ee78f0588eaa56ddc3df28ea2981dc7418189023c9c17f0e4a311 EBUILD pocl-1.2.ebuild 731 BLAKE2B adc3ea7072da473a989f4e11c035dec3515a7c09f7f10ebefd737330e267cc06b516d3336588220a8308e4a75fea36b9116090d0b17f0449d5e001f41c1007c6 SHA512 d6d1d85a32b9cc1cf79f6a6f72c4346b13a8434238facbe2fa90b29807921073e778c3c7b3f430838c926a9a77a36d049d1c54bc6e740c114a0ce2a077e53bb5 +EBUILD pocl-1.4.ebuild 835 BLAKE2B 25ed43bcedff4cae53587b962f70c0b0e0481c4974a3a4b3a340d5b46d0631dd100cac1bf9dd31ac823fa554e41c6a01176aabac30c5afac10d9de33a9160b51 SHA512 3759df0e4dd8f708ebe38519268b8a820b1853c21c162dd02ad23068fc45233f68ff0975efdbae69d27959257656d0b264bea87632df2b738c70baa5c4212a78 EBUILD pocl-9999.ebuild 941 BLAKE2B a24c0eec3145086c10595dedc5fdb509f47b7da0bd4710fa21b935907f09166eb923b06fcfabbb0ff07e785d3b9a6e8bdccf500f97082bc909e0543f94df5fe6 SHA512 d7a80b2b7685d505b66a6f4971a11c1321eac8c062112869d86fa426b4de4f1ce9e655227960362b6f2361bf6f6e46684722291113513514559c27d571bc76db diff --git a/dev-libs/pocl/pocl-1.4.ebuild b/dev-libs/pocl/pocl-1.4.ebuild new file mode 100644 index 0000000..1257feb --- /dev/null +++ b/dev-libs/pocl/pocl-1.4.ebuild @@ -0,0 +1,37 @@ +EAPI="6" +inherit cmake-utils cmake-multilib versionator + +DESCRIPTION="Portable Computing Language" +HOMEPAGE="http://portablecl.org" + +PV_RC_SEPARATOR_FIXED=$(replace_version_separator '_' '-') +PV_FILE_FORMAT=${PV_RC_SEPARATOR_FIXED^^} +SRC_URI="https://github.com/pocl/pocl/archive/v${PV_FILE_FORMAT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${PV_FILE_FORMAT}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +RDEPEND=">=sys-devel/llvm-6.0 + sys-devel/clang + sys-apps/hwloc + " + +DEPEND="${RDEPEND}" + +PATCHES=("${FILESDIR}/vendor_opencl_libs_location.epatch" +) + + +src_configure() { + sed -i'' -e 's#typedef ptrdiff_t intptr_t#//typedef ptrdiff_t intptr_t#' include/pocl_types.h + + local mycmakeargs=( + "-DENABLE_CUDA=ON" +# "-DENABLE_HSA=ON" + ) + + cmake-multilib_src_configure +} -- cgit v1.2.3