diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-05-01 10:44:49 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-05-01 10:53:35 +0200 |
commit | 7f6a7c736d4e6cc2f5c51e2353e18a8d30c030d8 (patch) | |
tree | be87e9559b224da4acde7cb3fa26454c0bc0b263 /dev-util/creduce | |
parent | dev-python/llvmlite: Remove old (LLVM 7) (diff) | |
download | gentoo-7f6a7c736d4e6cc2f5c51e2353e18a8d30c030d8.tar.gz gentoo-7f6a7c736d4e6cc2f5c51e2353e18a8d30c030d8.tar.bz2 gentoo-7f6a7c736d4e6cc2f5c51e2353e18a8d30c030d8.zip |
dev-util/creduce: Remove old (LLVM 7)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-util/creduce')
-rw-r--r-- | dev-util/creduce/Manifest | 3 | ||||
-rw-r--r-- | dev-util/creduce/creduce-2.8.0.ebuild | 38 | ||||
-rw-r--r-- | dev-util/creduce/creduce-2.8.0_pre20180411-r1.ebuild | 42 | ||||
-rw-r--r-- | dev-util/creduce/creduce-2.9.0_pre20190414-r1.ebuild | 39 | ||||
-rw-r--r-- | dev-util/creduce/creduce-9999.ebuild | 39 | ||||
-rw-r--r-- | dev-util/creduce/files/creduce-2.8.0-link-libs.patch | 31 | ||||
-rw-r--r-- | dev-util/creduce/files/creduce-llvm-7.patch | 90 |
7 files changed, 0 insertions, 282 deletions
diff --git a/dev-util/creduce/Manifest b/dev-util/creduce/Manifest index a67e6fd5af6a..cb6764e980eb 100644 --- a/dev-util/creduce/Manifest +++ b/dev-util/creduce/Manifest @@ -1,4 +1 @@ -DIST creduce-095c551a5f9ccaf2986edb836e7be9872d36c233.tar.gz 724597 BLAKE2B 9d7a57349b8e14599c795a27bdf2cb4536f5b41f02faf10263c3d883bf94efd83ce7483bbf72aee0c2fe00d8515490e5f5a9c8df575abe80e90231a4373c9318 SHA512 a317bae5e47ee85b4be401d8dae490bd0ba86640aff6e7b0e9d6fe14d1f87199b4e12edbfa3eddcb5341b926a753dae17131f5e571362849c01377eda00407fa -DIST creduce-2.8.0.tar.gz 774668 BLAKE2B d799372d107c0cb45e9ed95f82c29634fd9de053c4eda1a2dfce8b2152ca84f7fff5e7b679e21e6dbe869d139e1cfd73963c02751ad30809a3470316ce10e077 SHA512 9d616dc421d0e932656ab0220ebfe1a4f20a08d46bf4ee004ef96a693ff37caeadf96c769262574a9789ac52c2bb4586e2b8602f7d44b627229b8eb45f5af0ea DIST creduce-2a4480eb6cb72b3d2d131b536c883cc6d41bdcaa.tar.gz 732121 BLAKE2B dad2cf8ec2453a6b210a5303480e7dabfd978b7d7a1326cbc1e4ca40fa7c4e7d18da5f9309ca5f392740bbf55a1c9863e389c9789fceff062a68e9bb9a79de9f SHA512 c598f5c998f0a02d57006e640f88b951cd33a24f24507d6671067842b81bb3fe37c2fccd040b6cedb6fd5857396213e4003ee5fbd3040058050bad67226dc27f -DIST creduce-48e622ba74bc35c5a81299d3a34b9b14038d6a70.tar.gz 720872 BLAKE2B 031104f5e7ca3d3cfb41087f432ec0cf1b1c125171ffac31b6f3b0a9a4483b5ca8a667331aacae7f5acdaaf99e8b688bb62b332405c1266d2b114a4bdceca9cc SHA512 36cc12015d85acfa99f0d04440184517da1f766df7a804ee02719f1208f67aff4f4db7af4066817b17efdc89a6d2cf7ab62b0c622a611bc9b03a89b8d1b68d01 diff --git a/dev-util/creduce/creduce-2.8.0.ebuild b/dev-util/creduce/creduce-2.8.0.ebuild deleted file mode 100644 index 78b23f9fd6b8..000000000000 --- a/dev-util/creduce/creduce-2.8.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -: ${CMAKE_MAKEFILE_GENERATOR=ninja} -inherit cmake-utils llvm - -DESCRIPTION="C-Reduce - a plugin-based C program reducer" -HOMEPAGE="https://embed.cs.utah.edu/creduce/" -SRC_URI="https://embed.cs.utah.edu/creduce/${P}.tar.gz" - -LICENSE="UoI-NCSA" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -LLVM_MAX_SLOT=7 - -COMMON_DEPEND=" - >=dev-lang/perl-5.10.0 - sys-devel/clang:${LLVM_MAX_SLOT}" -RDEPEND="${COMMON_DEPEND} - dev-perl/Exporter-Lite - dev-perl/File-Which - dev-perl/Getopt-Tabular - dev-perl/Regexp-Common" -DEPEND="${COMMON_DEPEND} - sys-devel/flex" - -PATCHES=( - "${FILESDIR}"/creduce-llvm-7.patch - "${FILESDIR}"/creduce-2.8.0-link-libs.patch -) - -llvm_check_deps() { - has_version "sys-devel/clang:${LLVM_SLOT}" -} diff --git a/dev-util/creduce/creduce-2.8.0_pre20180411-r1.ebuild b/dev-util/creduce/creduce-2.8.0_pre20180411-r1.ebuild deleted file mode 100644 index 0249ee3b93d2..000000000000 --- a/dev-util/creduce/creduce-2.8.0_pre20180411-r1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -: ${CMAKE_MAKEFILE_GENERATOR=ninja} -inherit cmake-utils llvm - -EGIT_COMMIT="48e622ba74bc35c5a81299d3a34b9b14038d6a70" - -DESCRIPTION="C-Reduce - a plugin-based C program reducer" -HOMEPAGE="https://embed.cs.utah.edu/creduce/" -SRC_URI="https://github.com/csmith-project/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${EGIT_COMMIT}.tar.gz" - -LICENSE="UoI-NCSA" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -LLVM_MAX_SLOT=7 - -COMMON_DEPEND=" - >=dev-lang/perl-5.10.0 - sys-devel/clang:${LLVM_MAX_SLOT}" -RDEPEND="${COMMON_DEPEND} - dev-perl/Exporter-Lite - dev-perl/File-Which - dev-perl/Getopt-Tabular - dev-perl/Regexp-Common - dev-perl/Sys-CPU" -DEPEND="${COMMON_DEPEND} - sys-devel/flex" - -S="${WORKDIR}/${PN}-${EGIT_COMMIT}" - -PATCHES=( - "${FILESDIR}"/creduce-llvm-7.patch -) - -llvm_check_deps() { - has_version "sys-devel/clang:${LLVM_SLOT}" -} diff --git a/dev-util/creduce/creduce-2.9.0_pre20190414-r1.ebuild b/dev-util/creduce/creduce-2.9.0_pre20190414-r1.ebuild deleted file mode 100644 index 15624685b357..000000000000 --- a/dev-util/creduce/creduce-2.9.0_pre20190414-r1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -: ${CMAKE_MAKEFILE_GENERATOR=ninja} -inherit cmake-utils llvm - -EGIT_COMMIT="095c551a5f9ccaf2986edb836e7be9872d36c233" -DESCRIPTION="C-Reduce - a plugin-based C program reducer" -HOMEPAGE="https://embed.cs.utah.edu/creduce/" -SRC_URI="https://github.com/csmith-project/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${EGIT_COMMIT}.tar.gz" - -LICENSE="UoI-NCSA" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -LLVM_MAX_SLOT=7 - -COMMON_DEPEND=" - >=dev-lang/perl-5.10.0 - sys-devel/clang:${LLVM_MAX_SLOT}" -RDEPEND="${COMMON_DEPEND} - dev-perl/Exporter-Lite - dev-perl/File-Which - dev-perl/Getopt-Tabular - dev-perl/Regexp-Common" -DEPEND="${COMMON_DEPEND} - sys-devel/flex" -S="${WORKDIR}/${PN}-${EGIT_COMMIT}" - -PATCHES=( - "${FILESDIR}"/creduce-2.8.0-link-libs.patch -) - -llvm_check_deps() { - has_version "sys-devel/clang:${LLVM_SLOT}" -} diff --git a/dev-util/creduce/creduce-9999.ebuild b/dev-util/creduce/creduce-9999.ebuild deleted file mode 100644 index 8b8470de887c..000000000000 --- a/dev-util/creduce/creduce-9999.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -EGIT_REPO_URI="https://github.com/csmith-project/${PN}" - -: ${CMAKE_MAKEFILE_GENERATOR=ninja} -inherit cmake-utils git-r3 llvm - -DESCRIPTION="C-Reduce - a plugin-based C program reducer" -HOMEPAGE="https://embed.cs.utah.edu/creduce/" -SRC_URI="" - -LICENSE="UoI-NCSA" -SLOT="0" -KEYWORDS="" -IUSE="" - -LLVM_MAX_SLOT=7 - -COMMON_DEPEND=" - >=dev-lang/perl-5.10.0 - sys-devel/clang:${LLVM_MAX_SLOT}" -RDEPEND="${COMMON_DEPEND} - dev-perl/Exporter-Lite - dev-perl/File-Which - dev-perl/Getopt-Tabular - dev-perl/Regexp-Common" -DEPEND="${COMMON_DEPEND} - sys-devel/flex" - -PATCHES=( - "${FILESDIR}"/creduce-2.8.0-link-libs.patch -) - -llvm_check_deps() { - has_version "sys-devel/clang:${LLVM_SLOT}" -} diff --git a/dev-util/creduce/files/creduce-2.8.0-link-libs.patch b/dev-util/creduce/files/creduce-2.8.0-link-libs.patch deleted file mode 100644 index 25e9ef229165..000000000000 --- a/dev-util/creduce/files/creduce-2.8.0-link-libs.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 885a675474d93ae4ef929de7520d3ac38ba39156 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sun, 21 Apr 2019 14:20:34 +0200 -Subject: [PATCH] Revert "Do not list `LLVM_LIBS` in the - `target_link_libraries`." - -This breaks linking against shared LLVM. ---- - clang_delta/CMakeLists.txt | 6 +----- - 1 file changed, 1 insertion(+), 5 deletions(-) - -diff --git a/clang_delta/CMakeLists.txt b/clang_delta/CMakeLists.txt -index 6493abf..ab1dc42 100644 ---- a/clang_delta/CMakeLists.txt -+++ b/clang_delta/CMakeLists.txt -@@ -242,11 +242,7 @@ add_executable(clang_delta - git_version.h - ) - --# ENE, LLVM 6.0: LLVM_LIBS end up in the link command line anyway. I'm not --# quite sure why! But if you list LLVM_LIBS here, the `clang_delta' binary --# can end up with dynamic link errors when it runs (multiply defined symbols). --# --target_link_libraries(clang_delta ${CLANG_LIBS}) -+target_link_libraries(clang_delta ${CLANG_LIBS} ${LLVM_LIBS}) - - # Custom target for running clang_delta tests - # --- -2.21.0 - diff --git a/dev-util/creduce/files/creduce-llvm-7.patch b/dev-util/creduce/files/creduce-llvm-7.patch deleted file mode 100644 index a005eebff2e2..000000000000 --- a/dev-util/creduce/files/creduce-llvm-7.patch +++ /dev/null @@ -1,90 +0,0 @@ -From c0d9c3a2ef763eb09f0a70b8ad86250598549487 Mon Sep 17 00:00:00 2001 -From: Yang Chen <chenyang@cs.utah.edu> -Date: Fri, 28 Sep 2018 00:39:22 -0700 -Subject: [PATCH] building with LLVM 7.0 - -cope with some API changes for LLVM 7.0 ---- - clang_delta/ExpressionDetector.cpp | 20 +++++++++++--------- - clang_delta/RemoveUnusedEnumMember.cpp | 8 ++++---- - clang_delta/TransformationManager.cpp | 2 +- - 3 files changed, 16 insertions(+), 14 deletions(-) - -diff --git a/clang_delta/ExpressionDetector.cpp b/clang_delta/ExpressionDetector.cpp -index aa87873..dd77068 100644 ---- a/clang_delta/ExpressionDetector.cpp -+++ b/clang_delta/ExpressionDetector.cpp -@@ -64,7 +64,8 @@ public: - StringRef FileName, bool IsAngled, - CharSourceRange FilenameRange, const FileEntry *File, - StringRef SearchPath, StringRef RelativePath, -- const Module *Imported) override; -+ const Module *Imported, -+ SrcMgr::CharacteristicKind FileType) override; - - private: - SourceManager &SrcManager; -@@ -77,14 +78,15 @@ private: - }; - - void IncludesPPCallbacks::InclusionDirective(SourceLocation HashLoc, -- const Token &/*IncludeTok*/, -- StringRef FileName, -- bool /*IsAngled*/, -- CharSourceRange /*FilenameRange*/, -- const FileEntry * /*File*/, -- StringRef /*SearchPath*/, -- StringRef /*RelativePath*/, -- const Module * /*Imported*/) -+ const Token &/*IncludeTok*/, -+ StringRef FileName, -+ bool /*IsAngled*/, -+ CharSourceRange /*FilenameRange*/, -+ const FileEntry * /*File*/, -+ StringRef /*SearchPath*/, -+ StringRef /*RelativePath*/, -+ const Module * /*Imported*/, -+ SrcMgr::CharacteristicKind /*FileType*/) - { - if (!SrcManager.isInMainFile(HashLoc)) - return; -diff --git a/clang_delta/RemoveUnusedEnumMember.cpp b/clang_delta/RemoveUnusedEnumMember.cpp -index 8bf8673..469db3f 100644 ---- a/clang_delta/RemoveUnusedEnumMember.cpp -+++ b/clang_delta/RemoveUnusedEnumMember.cpp -@@ -99,15 +99,15 @@ void RemoveUnusedEnumMember::removeEnumConstantDecl() - { - SourceLocation StartLoc = (*TheEnumIterator)->getLocStart(); - if (StartLoc.isMacroID()) { -- std::pair<SourceLocation, SourceLocation> Locs = -+ CharSourceRange CSRange = - SrcManager->getExpansionRange(StartLoc); -- StartLoc = Locs.first; -+ StartLoc = CSRange.getBegin(); - } - SourceLocation EndLoc = (*TheEnumIterator)->getLocEnd(); - if (EndLoc.isMacroID()) { -- std::pair<SourceLocation, SourceLocation> Locs = -+ CharSourceRange CSRange = - SrcManager->getExpansionRange(EndLoc); -- EndLoc = Locs.second; -+ EndLoc = CSRange.getEnd(); - } - SourceLocation CommaLoc = Lexer::findLocationAfterToken( - EndLoc, tok::comma, *SrcManager, Context->getLangOpts(), -diff --git a/clang_delta/TransformationManager.cpp b/clang_delta/TransformationManager.cpp -index 89e9d72..1e56b90 100644 ---- a/clang_delta/TransformationManager.cpp -+++ b/clang_delta/TransformationManager.cpp -@@ -223,7 +223,7 @@ llvm::raw_ostream *TransformationManager::getOutStream() - - std::error_code EC; - llvm::raw_fd_ostream *Out = new llvm::raw_fd_ostream( -- OutputFileName, EC, llvm::sys::fs::F_RW); -+ OutputFileName, EC, llvm::sys::fs::FA_Read | llvm::sys::fs::FA_Write); - assert(!EC && "Cannot open output file!"); - return Out; - } --- -2.19.0 - |