diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-11-13 11:05:07 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-11-15 15:31:57 +0100 |
commit | 90ead085179e2873d810c674f6691ddccb59ca2e (patch) | |
tree | 5430fbea02bf57f082b96467c5287b5f86bcd995 /dev-libs | |
parent | media-libs/mesa: Drop old (diff) | |
download | gentoo-90ead085179e2873d810c674f6691ddccb59ca2e.tar.gz gentoo-90ead085179e2873d810c674f6691ddccb59ca2e.tar.bz2 gentoo-90ead085179e2873d810c674f6691ddccb59ca2e.zip |
dev-libs/libclc: Drop old
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libclc/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libclc/files/libclc-llvm-3.5-compat.patch | 83 | ||||
-rw-r--r-- | dev-libs/libclc/libclc-0.0.1_pre20140101-r1.ebuild | 60 | ||||
-rw-r--r-- | dev-libs/libclc/libclc-0.0.1_pre20141027.ebuild | 56 |
4 files changed, 0 insertions, 201 deletions
diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest index 93ede1bb7062..8294cd0c64b2 100644 --- a/dev-libs/libclc/Manifest +++ b/dev-libs/libclc/Manifest @@ -1,5 +1,3 @@ -DIST libclc-0.0.1_pre20140101.tar.xz 27528 SHA256 990820e918a14b6ef2941ce44e2dca0c6a4025dda8a299af7da8c75bdc40a409 SHA512 460ff4e0c06116000f5f91e35e6118eb117c91b1678473fd25512924e3095693cdd1024db69f9f361c744254df5c2bf8c209096fbad15f48915f3cdd3159ea84 WHIRLPOOL c0753f27925336b45591d2e5d4cda30a685d85629fdcb5dbb8110f59306bed3cdee701c6312ec7da56e1c943a50bdc301d7c59e6b1155bbc1d6da03fb305e0a7 -DIST libclc-0.0.1_pre20141027.tar.xz 43784 SHA256 91f2c78fc31c76112899ce30b529f0dc3fa893f7c839727511d967f751c7d8f3 SHA512 bd63f5e29406e9961b6a33a3a45475563ea26505e7665f1ab2fba060151e15c7a02e5ceaf7f16ae55f23fcd0001be3b8acb57045eccdd5b8b7d2e5c684b84097 WHIRLPOOL 4bdb39324512ca7ac497c63d5d2e00e98c89f78be316368705eb697e268a4f7bedf60b212b93de79ef1258588a3661f5abcd040abe91d70371a1daabadda38f1 DIST libclc-0.1.0_pre20150305.tar.xz 45492 SHA256 5c221bc70438d50cc5893797ebd59a444910e057ccfce0671f3cdeb118854806 SHA512 5d6aa3d80da161fb987f954a1c192a06bab59de345e31a7fa55be1947feb14439f00e0d1a92d146428bfe257ab4be6ab949b9147e0650e2156124f5e9db7270c WHIRLPOOL 3fed78801b25cdcd56411847a679a511775ca7b42582d0b6791dfbe9ff544e15325cf4e5d528458d4db0334d400d4770ccdefd60db56043cc3508ce82862b1cc DIST libclc-0.2.0_pre20151006.tar.xz 74584 SHA256 188c013e9115fcef934fdac92bac9f306394742d9e6f82bdc9304e1ddbad8f21 SHA512 2e5231325c06f863bd032c91f44e2f681d4d0e24adde780e5c81114fc6121f762794a6fa8ee398aa379daf1645251cb5c69946ac19f1edc1fec102e2f281cdff WHIRLPOOL d85602cad06052d4b80951b42653fb0444d3f904bd97b5ef2e9071026e14f20764811de297537ddd4e95b5c86f1aa971aa3867c611e7cb720e66d4f0667c0844 DIST libclc-0.2.0_pre20160209.tar.xz 75756 SHA256 4ed3491997cc524faa0c982a29bc3b4028c1054786e6dfe929d9c43265d78ed7 SHA512 d3edff5e04dc3d34033fdccc0a0d8256ea03515bd98b32818ec181d541141acf9ea06bb7e6bb149ea5e7f5dbcbb76ba13453fb1f461b4737a15ac60c7b3fc4ca WHIRLPOOL 111f75bb89c8288ffefc7a2e1448fd79d41f47990450984537405e423cbf7ea3717e102408774667ac654650db44109c1473a25c2e84d79fa19bc3dad0f7b69c diff --git a/dev-libs/libclc/files/libclc-llvm-3.5-compat.patch b/dev-libs/libclc/files/libclc-llvm-3.5-compat.patch deleted file mode 100644 index 34b4899e0623..000000000000 --- a/dev-libs/libclc/files/libclc-llvm-3.5-compat.patch +++ /dev/null @@ -1,83 +0,0 @@ -diff -urpN libclc-0.0.1_pre20140101.orig/utils/prepare-builtins.cpp libclc-0.0.1_pre20140101/utils/prepare-builtins.cpp ---- libclc-0.0.1_pre20140101.orig/utils/prepare-builtins.cpp 2014-09-22 13:08:50.236934929 -0700 -+++ libclc-0.0.1_pre20140101/utils/prepare-builtins.cpp 2014-09-22 13:12:43.164665140 -0700 -@@ -1,4 +1,3 @@ --#include "llvm/ADT/OwningPtr.h" - #include "llvm/Bitcode/ReaderWriter.h" - #include "llvm/IR/Function.h" - #include "llvm/IR/GlobalVariable.h" -@@ -7,11 +6,28 @@ - #include "llvm/Support/CommandLine.h" - #include "llvm/Support/ManagedStatic.h" - #include "llvm/Support/MemoryBuffer.h" -+#include "llvm/Support/FileSystem.h" - #include "llvm/Support/raw_ostream.h" --#include "llvm/Support/system_error.h" -+#include "llvm/Support/ErrorOr.h" - #include "llvm/Support/ToolOutputFile.h" - #include "llvm/Config/config.h" - -+#define LLVM_350_AND_NEWER \ -+ (LLVM_VERSION_MAJOR > 3 || (LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR >= 5)) -+ -+#if LLVM_350_AND_NEWER -+#include <system_error> -+ -+#define ERROR_CODE std::error_code -+#define UNIQUE_PTR std::unique_ptr -+#else -+#include "llvm/ADT/OwningPtr.h" -+#include "llvm/Support/system_error.h" -+ -+#define ERROR_CODE error_code -+#define UNIQUE_PTR OwningPtr -+#endif -+ - using namespace llvm; - - static cl::opt<std::string> -@@ -31,11 +47,26 @@ int main(int argc, char **argv) { - std::auto_ptr<Module> M; - - { -- OwningPtr<MemoryBuffer> BufferPtr; -- if (error_code ec = MemoryBuffer::getFileOrSTDIN(InputFilename, BufferPtr)) -+#if LLVM_350_AND_NEWER -+ ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = -+ MemoryBuffer::getFile(InputFilename); -+ std::unique_ptr<MemoryBuffer> &BufferPtr = BufferOrErr.get(); -+ if (std::error_code ec = BufferOrErr.getError()) -+#else -+ UNIQUE_PTR<MemoryBuffer> BufferPtr; -+ if (ERROR_CODE ec = MemoryBuffer::getFileOrSTDIN(InputFilename, BufferPtr)) -+#endif - ErrorMessage = ec.message(); -- else -+ else { -+#if LLVM_VERSION_MAJOR > 3 || (LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR > 4) -+ ErrorOr<Module *> ModuleOrErr = parseBitcodeFile(BufferPtr.get(), Context); -+ if (ERROR_CODE ec = ModuleOrErr.getError()) -+ ErrorMessage = ec.message(); -+ M.reset(ModuleOrErr.get()); -+#else - M.reset(ParseBitcodeFile(BufferPtr.get(), Context, &ErrorMessage)); -+#endif -+ } - } - - if (M.get() == 0) { -@@ -65,10 +95,12 @@ int main(int argc, char **argv) { - } - - std::string ErrorInfo; -- OwningPtr<tool_output_file> Out -+ UNIQUE_PTR<tool_output_file> Out - (new tool_output_file(OutputFilename.c_str(), ErrorInfo, --#if LLVM_VERSION_MAJOR > 3 || (LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR > 3) -+#if (LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR == 4) - sys::fs::F_Binary)); -+#elif LLVM_VERSION_MAJOR > 3 || (LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR >= 5) -+ sys::fs::F_None)); - #else - raw_fd_ostream::F_Binary)); - #endif diff --git a/dev-libs/libclc/libclc-0.0.1_pre20140101-r1.ebuild b/dev-libs/libclc/libclc-0.0.1_pre20140101-r1.ebuild deleted file mode 100644 index 595ceeae8ae4..000000000000 --- a/dev-libs/libclc/libclc-0.0.1_pre20140101-r1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) - -EGIT_REPO_URI="http://llvm.org/git/${PN}.git" - -if [[ ${PV} = 9999* ]]; then - GIT_ECLASS="git-2" - EXPERIMENTAL="true" -fi - -inherit base python-any-r1 $GIT_ECLASS - -DESCRIPTION="OpenCL C library" -HOMEPAGE="http://libclc.llvm.org/" - -if [[ $PV = 9999* ]]; then - SRC_URI="${SRC_PATCHES}" -else - SRC_URI="mirror://gentoo/${P}.tar.xz ${SRC_PATCHES}" -fi - -LICENSE="|| ( MIT BSD )" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" - -RDEPEND=" - >=sys-devel/clang-3.4 - >=sys-devel/llvm-3.4 - <sys-devel/clang-3.6 - <sys-devel/llvm-3.6" -DEPEND="${RDEPEND} - ${PYTHON_DEPS}" - -src_unpack() { - if [[ $PV = 9999* ]]; then - git-2_src_unpack - else - default - mv ${PN}-*/ ${P} || die - fi -} - -src_prepare() { - epatch "${FILESDIR}/libclc-llvm-3.5-compat.patch" -} - -src_configure() { - ./configure.py \ - --with-llvm-config="${EPREFIX}/usr/bin/llvm-config" \ - --prefix="${EPREFIX}/usr" || die -} - -src_compile() { - emake VERBOSE=1 -} diff --git a/dev-libs/libclc/libclc-0.0.1_pre20141027.ebuild b/dev-libs/libclc/libclc-0.0.1_pre20141027.ebuild deleted file mode 100644 index ed10b2011c94..000000000000 --- a/dev-libs/libclc/libclc-0.0.1_pre20141027.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) - -EGIT_REPO_URI="http://llvm.org/git/${PN}.git" - -if [[ ${PV} = 9999* ]]; then - GIT_ECLASS="git-2" - EXPERIMENTAL="true" -fi - -inherit base python-any-r1 $GIT_ECLASS - -DESCRIPTION="OpenCL C library" -HOMEPAGE="http://libclc.llvm.org/" - -if [[ $PV = 9999* ]]; then - SRC_URI="${SRC_PATCHES}" -else - SRC_URI="mirror://gentoo/${P}.tar.xz ${SRC_PATCHES}" -fi - -LICENSE="|| ( MIT BSD )" -SLOT="0" -KEYWORDS="amd64 ~ppc x86" -IUSE="" - -RDEPEND=" - >=sys-devel/clang-3.5 - >=sys-devel/llvm-3.5 - <sys-devel/clang-3.6 - <sys-devel/llvm-3.6" -DEPEND="${RDEPEND} - ${PYTHON_DEPS}" - -src_unpack() { - if [[ $PV = 9999* ]]; then - git-2_src_unpack - else - default - mv ${PN}-*/ ${P} || die - fi -} - -src_configure() { - ./configure.py \ - --with-llvm-config="${EPREFIX}/usr/bin/llvm-config" \ - --prefix="${EPREFIX}/usr" || die -} - -src_compile() { - emake VERBOSE=1 -} |