From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 28AE0138351 for ; Fri, 1 May 2020 08:54:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4A323E0ACE; Fri, 1 May 2020 08:54:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F2EFE0972 for ; Fri, 1 May 2020 08:54:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9A22434F032 for ; Fri, 1 May 2020 08:54:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A6B72201 for ; Fri, 1 May 2020 08:54:05 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1588323215.7f6a7c736d4e6cc2f5c51e2353e18a8d30c030d8.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/creduce/files/, dev-util/creduce/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/creduce/Manifest dev-util/creduce/creduce-2.8.0.ebuild dev-util/creduce/creduce-2.8.0_pre20180411-r1.ebuild dev-util/creduce/creduce-2.9.0_pre20190414-r1.ebuild dev-util/creduce/creduce-9999.ebuild dev-util/creduce/files/creduce-2.8.0-link-libs.patch dev-util/creduce/files/creduce-llvm-7.patch X-VCS-Directories: dev-util/creduce/files/ dev-util/creduce/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7f6a7c736d4e6cc2f5c51e2353e18a8d30c030d8 X-VCS-Branch: master Date: Fri, 1 May 2020 08:54:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ad1bacb9-7947-4292-beae-884a79561ba7 X-Archives-Hash: 0134d1d002b4f74d210af088cd53b87a commit: 7f6a7c736d4e6cc2f5c51e2353e18a8d30c030d8 Author: Michał Górny gentoo org> AuthorDate: Fri May 1 08:44:49 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri May 1 08:53:35 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f6a7c73 dev-util/creduce: Remove old (LLVM 7) Signed-off-by: Michał Górny gentoo.org> dev-util/creduce/Manifest | 3 - dev-util/creduce/creduce-2.8.0.ebuild | 38 --------- .../creduce/creduce-2.8.0_pre20180411-r1.ebuild | 42 ---------- .../creduce/creduce-2.9.0_pre20190414-r1.ebuild | 39 ---------- dev-util/creduce/creduce-9999.ebuild | 39 ---------- .../creduce/files/creduce-2.8.0-link-libs.patch | 31 -------- dev-util/creduce/files/creduce-llvm-7.patch | 90 ---------------------- 7 files changed, 282 deletions(-) diff --git a/dev-util/creduce/Manifest b/dev-util/creduce/Manifest index a67e6fd5af6..cb6764e980e 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 78b23f9fd6b..00000000000 --- 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 0249ee3b93d..00000000000 --- 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 15624685b35..00000000000 --- 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 8b8470de887..00000000000 --- 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 25e9ef22916..00000000000 --- 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?= -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 a005eebff2e..00000000000 --- 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 -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 Locs = -+ CharSourceRange CSRange = - SrcManager->getExpansionRange(StartLoc); -- StartLoc = Locs.first; -+ StartLoc = CSRange.getBegin(); - } - SourceLocation EndLoc = (*TheEnumIterator)->getLocEnd(); - if (EndLoc.isMacroID()) { -- std::pair 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 -