[arch-commits] Commit in verilator/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Wed Jun 29 10:25:08 UTC 2022


    Date: Wednesday, June 29, 2022 @ 10:25:07
  Author: felixonmars
Revision: 1240198

archrelease: copy trunk to community-x86_64

Added:
  verilator/repos/community-x86_64/PKGBUILD
    (from rev 1240197, verilator/trunk/PKGBUILD)
Deleted:
  verilator/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   79 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 41 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-29 10:24:52 UTC (rev 1240197)
+++ PKGBUILD	2022-06-29 10:25:07 UTC (rev 1240198)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Marcin (CTRL) Wieczorek <marcin at marcin.co>
-# Contributor: Jeffrey Tolar <tolar.jeffrey at gmail dot com>
-
-pkgname=verilator
-pkgver=4.222
-pkgrel=1
-pkgdesc='The fastest free Verilog HDL simulator'
-url='https://www.veripool.org/projects/verilator/wiki/Intro'
-arch=('x86_64')
-license=('LGPL')
-depends=('perl')
-optdepends=('systemc')
-makedepends=('python' 'systemc')
-source=("https://github.com/verilator/verilator/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('bd155c7b9c4949687aac88f4d965a2d3605aa0ebe93967ae8e2a9da18dc3823c2473972a10e3ab6fee4082b961842213586beb8f0d7b1cefd393349229c57b25')
-
-prepare() {
-  cd verilator-$pkgver
-  sed -i 's/#_MY_CXX_CHECK_SET(CFG_CXXFLAGS_STD_NEWEST,-std=c++17)/_MY_CXX_CHECK_SET(CFG_CXXFLAGS_STD_NEWEST,-std=c++17)/' configure.ac
-  autoconf
-}
-
-build() {
-  cd verilator-$pkgver
-  ./configure --prefix=/usr
-  make
-}
-
-check() {
-  cd verilator-$pkgver
-  make test
-}
-
-package() {
-  cd verilator-$pkgver
-  make install DESTDIR="$pkgdir"
-}

Copied: verilator/repos/community-x86_64/PKGBUILD (from rev 1240197, verilator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-29 10:25:07 UTC (rev 1240198)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Marcin (CTRL) Wieczorek <marcin at marcin.co>
+# Contributor: Jeffrey Tolar <tolar.jeffrey at gmail dot com>
+
+pkgname=verilator
+pkgver=4.224
+pkgrel=1
+pkgdesc='The fastest free Verilog HDL simulator'
+url='https://www.veripool.org/projects/verilator/wiki/Intro'
+arch=('x86_64')
+license=('LGPL')
+depends=('perl')
+optdepends=('systemc')
+# lsb-release is used by configure script to enable usage of c++17
+makedepends=('python' 'systemc' 'lsb-release')
+source=("https://github.com/verilator/verilator/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+        $pkgname-use-c++17-on-arch.patch::https://github.com/verilator/verilator/pull/3479.patch)
+sha512sums=('a2a37948878ad897668ce89b0f12978dcbda3726cebb134db6ff6f172573d4e488748699a84008359d808d5b6fad19c013edaebc7f8a24a5452b61b1d57dc283'
+            'd608fba917db62974a3a083829fcaf3bb11d4cf25b3bea5a078d720132e104cdbba1500d1d69ccbc090c3731338f00c84fa46fb6772434367835736e821259dc')
+
+prepare() {
+  cd verilator-$pkgver
+  patch -p1 -i ../$pkgname-use-c++17-on-arch.patch
+  autoconf
+}
+
+build() {
+  cd verilator-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd verilator-$pkgver
+  make test
+}
+
+package() {
+  cd verilator-$pkgver
+  make install DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list