[arch-commits] Commit in yosys/repos/community-x86_64 (PKGBUILD PKGBUILD gcc11.patch)

Felix Yan felixonmars at gemini.archlinux.org
Tue Sep 28 00:31:08 UTC 2021


    Date: Tuesday, September 28, 2021 @ 00:31:08
  Author: felixonmars
Revision: 1025821

archrelease: copy trunk to community-x86_64

Added:
  yosys/repos/community-x86_64/PKGBUILD
    (from rev 1025820, yosys/trunk/PKGBUILD)
Deleted:
  yosys/repos/community-x86_64/PKGBUILD
  yosys/repos/community-x86_64/gcc11.patch

-------------+
 PKGBUILD    |  109 +++++++++++++++++++++++++++-------------------------------
 gcc11.patch |   12 ------
 2 files changed, 51 insertions(+), 70 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-28 00:30:52 UTC (rev 1025820)
+++ PKGBUILD	2021-09-28 00:31:08 UTC (rev 1025821)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Benoît Allard <benoit dot allard at gmx dot de>
-# Contributor: killruana <killruana at gmail.com>
-
-pkgname=yosys
-pkgver=0.9
-pkgrel=14
-pkgdesc='A framework for RTL synthesis'
-arch=('x86_64')
-url='http://www.clifford.at/yosys/'
-license=('custom:ISC')
-depends=('abc' 'bash' 'boost-libs' 'tcl' 'libffi' 'python' 'protobuf')
-makedepends=('boost')
-checkdepends=('iverilog')
-optdepends=('graphviz: Schematics display support'
-            'xdot: Display netlists')
-source=("https://github.com/cliffordwolf/yosys/archive/$pkgname-$pkgver.tar.gz"
-        gcc11.patch)
-sha512sums=('6ae0f822ca0e3ec749773dae89e948488b698aaa149e73f04604dd899ac403a3073645f0e27382801f5f1a9483d87ef4066fde5dc797181eff06684de7a5b138'
-            '5e087b9b11544adfb48eee6242634f47c60280748c627b27fa806490906047ee1ce34f174398dac6544cc83845823d76bfe94004157304d32ec40ca425a24386')
-
-_make() {
-    make \
-        PREFIX="/usr" \
-        CONFIG=gcc \
-        ENABLE_TCL=1 \
-        ENABLE_ABC=1 \
-        ENABLE_GLOB=1 \
-        ENABLE_PLUGINS=1 \
-        ENABLE_LIBYOSYS=1 \
-        ENABLE_PROTOBUF=1 \
-        ENABLE_ZLIB=1 \
-        ENABLE_PYOSYS=1 \
-        ABCEXTERNAL=abc \
-        BOOST_PYTHON_LIB="-lpython3.9 -lboost_python39" $@
-}
-
-prepare() {
-    cd $pkgname-$pkgname-$pkgver
-    patch -Np1 -i ../gcc11.patch
-}
-
-build() {
-    cd $pkgname-$pkgname-$pkgver
-    _make
-}
-
-check() {
-    cd $pkgname-$pkgname-$pkgver
-    _make test
-}
-
-package() {
-    cd $pkgname-$pkgname-$pkgver
-    _make DESTDIR="$pkgdir" PYTHON_PREFIX="$pkgdir/usr" install
-
-    install -Dm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: yosys/repos/community-x86_64/PKGBUILD (from rev 1025820, yosys/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-28 00:31:08 UTC (rev 1025821)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Benoît Allard <benoit dot allard at gmx dot de>
+# Contributor: killruana <killruana at gmail.com>
+
+pkgname=yosys
+pkgver=0.10
+pkgrel=1
+pkgdesc='A framework for RTL synthesis'
+arch=('x86_64')
+url='http://www.clifford.at/yosys/'
+license=('custom:ISC')
+depends=('abc' 'bash' 'boost-libs' 'tcl' 'libffi' 'python' 'protobuf')
+makedepends=('boost')
+checkdepends=('iverilog')
+optdepends=('graphviz: Schematics display support'
+            'xdot: Display netlists')
+source=("https://github.com/cliffordwolf/yosys/archive/$pkgname-$pkgver.tar.gz")
+sha512sums=('2168a206d4395fd83649a04ddfa717ddc4509b171da859979f4ba3eb61a350d4f5110439503651dfe24cc6860935a77c465000b047bd806a73a6657da331b52a')
+
+_make() {
+    make \
+        PREFIX="/usr" \
+        CONFIG=gcc \
+        ENABLE_TCL=1 \
+        ENABLE_ABC=1 \
+        ENABLE_GLOB=1 \
+        ENABLE_PLUGINS=1 \
+        ENABLE_LIBYOSYS=1 \
+        ENABLE_PROTOBUF=1 \
+        ENABLE_ZLIB=1 \
+        ENABLE_PYOSYS=1 \
+        ABCEXTERNAL=abc \
+        BOOST_PYTHON_LIB="-lpython3.9 -lboost_python39" $@
+}
+
+build() {
+    cd $pkgname-$pkgname-$pkgver
+    _make
+}
+
+check() {
+    cd $pkgname-$pkgname-$pkgver
+    _make test
+}
+
+package() {
+    cd $pkgname-$pkgname-$pkgver
+    _make DESTDIR="$pkgdir" PYTHON_PREFIX="$pkgdir/usr" install
+
+    install -Dm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Deleted: gcc11.patch
===================================================================
--- gcc11.patch	2021-09-28 00:30:52 UTC (rev 1025820)
+++ gcc11.patch	2021-09-28 00:31:08 UTC (rev 1025821)
@@ -1,12 +0,0 @@
-diff --git a/passes/sat/freduce.cc b/passes/sat/freduce.cc
-index f296316..292097c 100644
---- a/passes/sat/freduce.cc
-+++ b/passes/sat/freduce.cc
-@@ -27,6 +27,7 @@
- #include <stdio.h>
- #include <string.h>
- #include <algorithm>
-+#include <limits>
- 
- USING_YOSYS_NAMESPACE
- PRIVATE_NAMESPACE_BEGIN



More information about the arch-commits mailing list