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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 302FC158094 for ; Tue, 6 Sep 2022 02:22:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7028CE086A; Tue, 6 Sep 2022 02:22:58 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 59AD5E086A for ; Tue, 6 Sep 2022 02:22:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5E13D340F66 for ; Tue, 6 Sep 2022 02:22:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C2C4C1E for ; Tue, 6 Sep 2022 02:22:55 +0000 (UTC) From: "Rui Huang" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rui Huang" Message-ID: <1662430855.3201cb523db3fccf19cf655d3cd4720214c0cd93.vowstar@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/circt/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sci-electronics/circt/circt-1.14.0.ebuild X-VCS-Directories: sci-electronics/circt/ X-VCS-Committer: vowstar X-VCS-Committer-Name: Rui Huang X-VCS-Revision: 3201cb523db3fccf19cf655d3cd4720214c0cd93 X-VCS-Branch: dev Date: Tue, 6 Sep 2022 02:22:55 +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: e91f29d2-85f7-4180-b0aa-5207f25b0880 X-Archives-Hash: 1925d53cf867bfd72b3f6e9d493b966b commit: 3201cb523db3fccf19cf655d3cd4720214c0cd93 Author: Huang Rui gmail com> AuthorDate: Tue Sep 6 02:20:55 2022 +0000 Commit: Rui Huang gmail com> CommitDate: Tue Sep 6 02:20:55 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3201cb52 sci-electronics/circt: improve ebuild style Optimized and improved according to @tastytea suggestions See also: https://github.com/gentoo/guru/commit/bfcb1aadadf0596996c72382a25c3d405a33cac3 Signed-off-by: Huang Rui gmail.com> sci-electronics/circt/circt-1.14.0.ebuild | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/sci-electronics/circt/circt-1.14.0.ebuild b/sci-electronics/circt/circt-1.14.0.ebuild index 6145f1897..4b8576e1a 100644 --- a/sci-electronics/circt/circt-1.14.0.ebuild +++ b/sci-electronics/circt/circt-1.14.0.ebuild @@ -3,10 +3,9 @@ EAPI="8" -MY_PV="$(ver_cut 1)/$(ver_cut 2)/$(ver_cut 3)" +MY_PV="${PV//./\/}" MY_LLVM_PV="fe0f72d5c55a9b95c5564089e946e8f08112e995" CMAKE_BUILD_TYPE="Release" -CMAKE_MAKEFILE_GENERATOR="ninja" PYTHON_COMPAT=( python3_{8..11} ) inherit cmake python-r1 @@ -54,7 +53,6 @@ DEPEND=" " BDEPEND=" - dev-util/ninja virtual/pkgconfig " @@ -68,19 +66,19 @@ src_configure() { python_setup local mycmakeargs=( - -D Python3_EXECUTABLE="${PYTHON}" \ - -D CMAKE_INSTALL_PREFIX=/usr \ - -D LLVM_BINUTILS_INCDIR=/usr/include \ - -D LLVM_ENABLE_PROJECTS=mlir \ - -D BUILD_SHARED_LIBS=OFF \ - -D LLVM_STATIC_LINK_CXX_STDLIB=ON \ - -D LLVM_ENABLE_ASSERTIONS=ON \ - -D LLVM_BUILD_EXAMPLES=OFF \ - -D LLVM_ENABLE_BINDINGS=OFF \ - -D LLVM_ENABLE_OCAMLDOC=OFF \ - -D LLVM_OPTIMIZED_TABLEGEN=ON \ - -D LLVM_EXTERNAL_PROJECTS=circt \ - -D LLVM_EXTERNAL_CIRCT_SOURCE_DIR="${S_CIRCT}" \ + -D Python3_EXECUTABLE="${PYTHON}" + -D CMAKE_INSTALL_PREFIX=/usr + -D LLVM_BINUTILS_INCDIR=/usr/include + -D LLVM_ENABLE_PROJECTS=mlir + -D BUILD_SHARED_LIBS=OFF + -D LLVM_STATIC_LINK_CXX_STDLIB=ON + -D LLVM_ENABLE_ASSERTIONS=ON + -D LLVM_BUILD_EXAMPLES=OFF + -D LLVM_ENABLE_BINDINGS=OFF + -D LLVM_ENABLE_OCAMLDOC=OFF + -D LLVM_OPTIMIZED_TABLEGEN=ON + -D LLVM_EXTERNAL_PROJECTS=circt + -D LLVM_EXTERNAL_CIRCT_SOURCE_DIR="${S_CIRCT}" -D LLVM_BUILD_TOOLS=ON ) cmake_src_configure