Package Details: python-prjxray-git r3800.3418f9b5-1

Git Clone URL: https://aur.archlinux.org/prjxray-git.git (read-only, click to copy)
Package Base: prjxray-git
Description: Documenting the Xilinx 7-series bit-stream format
Upstream URL: https://github.com/SymbiFlow/prjxray
Licenses: ISC
Conflicts: python-prjxray
Provides: python-prjxray
Submitter: xiretza
Maintainer: xiretza
Last Packager: xiretza
Votes: 0
Popularity: 0.000000
First Submitted: 2020-11-09 12:25 (UTC)
Last Updated: 2023-09-24 12:59 (UTC)

Latest Comments

xiretza commented on 2023-09-24 12:59 (UTC)

Thanks, fixed!

cyrozap commented on 2023-09-22 05:41 (UTC)

The build fails without the following patch:

diff --git a/0001-fix-set-C-standard-to-14.patch b/0001-fix-set-C-standard-to-14.patch
deleted file mode 100644
index 3009702..0000000
--- a/0001-fix-set-C-standard-to-14.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 10e2d2c8fc16de6eac4579bb022a36b16b8f1b69 Mon Sep 17 00:00:00 2001
-From: Xiretza <xiretza@xiretza.xyz>
-Date: Sun, 29 May 2022 20:31:49 +0200
-Subject: [PATCH] fix: set C++ standard to 14
-
-GCC >= 11 defaults to C++17, but abseil needs to be compiled with the
-same standard as the rest of the codebase, which sets CMAKE_CXX_STANDARD
-to 14.
-
-https://github.com/f4pga/prjxray/issues/1950
----
- CMakeLists.txt | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 8a20d04a..029fc1f5 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -21,6 +21,8 @@
- # and then issuing `yum install cmake3` on the command line.
- cmake_minimum_required(VERSION 3.5)
- 
-+set(CMAKE_CXX_STANDARD 14)
-+
- # Compiler id for Apple Clang is now AppleClang.
- if (POLICY CMP0025)
-   cmake_policy(SET CMP0025 NEW)
--- 
-2.36.1
-
diff --git a/PKGBUILD b/PKGBUILD
index f25a3b6..bf15d46 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 _pkgbase=prjxray
 pkgbase="$_pkgbase-git"
 pkgname=("$_pkgbase-tools-git" "python-$_pkgbase-git")
-pkgver=r3602.51132a11
+pkgver=r3799.22b0056e
 pkgrel=1
 pkgdesc="Documenting the Xilinx 7-series bit-stream format"
 arch=(x86_64)
@@ -23,7 +23,6 @@ source=("git+$url"
         "git+https://github.com/google/cctz"
         "git+https://github.com/abseil/abseil-cpp"
         "git+https://github.com/jbeder/yaml-cpp"
-        '0001-fix-set-C-standard-to-14.patch'
 )
 sha256sums=('SKIP'
             'SKIP'
@@ -31,8 +30,7 @@ sha256sums=('SKIP'
             'SKIP'
             'SKIP'
             'SKIP'
-            'SKIP'
-            '5f47ffb9b89b976046588968f9a5038da7612211c1a85b396d62a24973941730')
+            'SKIP')

 pkgver() {
    cd "$_pkgbase"
@@ -54,10 +52,7 @@ prepare() {
    done

    cd third_party
-   git submodule update "${_mods[@]}"
-
-   cd abseil-cpp
-   patch -p1 < "$srcdir/0001-fix-set-C-standard-to-14.patch"
+   git -c protocol.file.allow=always submodule update "${_mods[@]}"
 }

 build() {