public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Rui Huang" <vowstar@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/circt/
Date: Tue,  6 Sep 2022 02:22:55 +0000 (UTC)	[thread overview]
Message-ID: <1662430855.3201cb523db3fccf19cf655d3cd4720214c0cd93.vowstar@gentoo> (raw)

commit:     3201cb523db3fccf19cf655d3cd4720214c0cd93
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Tue Sep  6 02:20:55 2022 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> 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 <vowstar <AT> 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


             reply	other threads:[~2022-09-06  2:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-06  2:22 Rui Huang [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-12 16:33 [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/circt/ Yuhang Zeng
2024-06-12 16:33 Yuhang Zeng
2023-03-31  6:00 Rui Huang
2022-08-28  4:56 Rui Huang
2022-08-27 19:20 Rui Huang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1662430855.3201cb523db3fccf19cf655d3cd4720214c0cd93.vowstar@gentoo \
    --to=vowstar@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox