Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / systemc


Commits:
ad25d998 by Felix Yan at 2026-03-03T22:55:45+08:00
upgpkg: 3.0.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,15 +1,16 @@
 pkgbase = systemc
        pkgdesc = Set of C++ classes and macros which provide an event-driven 
simulation interface for modeling and describing complex hardware systems
-       pkgver = 2.3.4
+       pkgver = 3.0.0
        pkgrel = 1
        url = http://www.accellera.org/downloads/standards/systemc
        arch = x86_64
        license = Apache
        makedepends = cmake
        makedepends = ninja
+       makedepends = git
        depends = gcc-libs
        replaces = systemc-cmake
-       source = 
systemc-2.3.4.tar.gz::https://github.com/accellera-official/systemc/archive/2.3.4.tar.gz
-       sha512sums = 
3ef4b5e9c05b8d03e856598ddc27ad50a0a39a7f9334cd00faefeacdf954b6527104d3238c4e8bfa88c00dc382f4da5a50efbd845fe0b6cc2f5a025c993deefd
+       source = git+https://github.com/accellera-official/systemc.git#tag=3.0.0
+       sha512sums = 
2ee9550d30f9df7a13c30de65f582c4a2893330fceecce330e3a249150042ecf32e460c0557844c35cbfccd4d135ad787ca380b70355bf7629b69b619036a878
 
 pkgname = systemc


=====================================
PKGBUILD
=====================================
@@ -4,26 +4,30 @@
 # Contributor: bl4ckb0x <navkamal90[at]gmail[dot]com>
 
 pkgname=systemc
-pkgver=2.3.4
+pkgver=3.0.0
 pkgrel=1
 pkgdesc="Set of C++ classes and macros which provide an event-driven 
simulation interface for modeling and describing complex hardware systems"
 url="http://www.accellera.org/downloads/standards/systemc";
 arch=('x86_64')
 license=('Apache')
 depends=('gcc-libs')
-makedepends=('cmake' 'ninja')
+makedepends=('cmake' 'ninja' 'git')
 replaces=('systemc-cmake')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/accellera-official/systemc/archive/$pkgver.tar.gz";)
-sha512sums=('3ef4b5e9c05b8d03e856598ddc27ad50a0a39a7f9334cd00faefeacdf954b6527104d3238c4e8bfa88c00dc382f4da5a50efbd845fe0b6cc2f5a025c993deefd')
+source=("git+https://github.com/accellera-official/systemc.git#tag=$pkgver";)
+sha512sums=('2ee9550d30f9df7a13c30de65f582c4a2893330fceecce330e3a249150042ecf32e460c0557844c35cbfccd4d135ad787ca380b70355bf7629b69b619036a878')
 
 prepare() {
   mkdir -p build
-  sed -i 's/set (CMAKE_BUILD_TYPE Release/set (CMAKE_BUILD_TYPE ""/' 
$pkgname-$pkgver/CMakeLists.txt
+  cd systemc
+  # Don't force CMAKE_BUILD_TYPE to Release (Arch uses noconfig)
+  sed -i '/if (NOT CMAKE_BUILD_TYPE)/,/^endif/d' CMakeLists.txt
+  # Fix ctest to handle empty CMAKE_BUILD_TYPE (Arch uses noconfig)
+  sed -i 's/-C "\$<CONFIG>"//' cmake/SystemCTesting.cmake
 }
 
 build() {
   cd build
-  cmake -GNinja -DCMAKE_CXX_STANDARD=17 -DCMAKE_INSTALL_PREFIX=/usr 
../$pkgname-$pkgver
+  cmake -GNinja -DCMAKE_CXX_STANDARD=17 -DCMAKE_INSTALL_PREFIX=/usr ../systemc
   ninja
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/systemc/-/commit/ad25d9988e409d30f49a33af52654db618b47422

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/systemc/-/commit/ad25d9988e409d30f49a33af52654db618b47422
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to