[arch-commits] Commit in srslte/repos/community-x86_64 (6 files)
Filipe Laíns
ffy00 at archlinux.org
Tue Jun 22 19:10:29 UTC 2021
Date: Tuesday, June 22, 2021 @ 19:10:29
Author: ffy00
Revision: 966913
archrelease: copy trunk to community-x86_64
Added:
srslte/repos/community-x86_64/PKGBUILD
(from rev 966912, srslte/trunk/PKGBUILD)
srslte/repos/community-x86_64/srslte-avx2.install
(from rev 966912, srslte/trunk/srslte-avx2.install)
srslte/repos/community-x86_64/srslte.install
(from rev 966912, srslte/trunk/srslte.install)
Deleted:
srslte/repos/community-x86_64/PKGBUILD
srslte/repos/community-x86_64/srslte-avx2.install
srslte/repos/community-x86_64/srslte.install
---------------------+
PKGBUILD | 176 +++++++++++++++++++++++++-------------------------
srslte-avx2.install | 8 +-
srslte.install | 8 +-
3 files changed, 96 insertions(+), 96 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-22 19:10:19 UTC (rev 966912)
+++ PKGBUILD 2021-06-22 19:10:29 UTC (rev 966913)
@@ -1,88 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgbase=srslte
-pkgname=($pkgbase $pkgbase-avx2)
-_pkgname=srsRAN
-pkgver=20.04.2
-_pkgver=release_${pkgver//./_}
-pkgrel=6
-pkgdesc='Open source SDR LTE software suite from Software Radio Systems (SRS)'
-arch=('x86_64')
-url='https://www.srslte.com'
-license=('AGPL3')
-depends=('fftw' 'mbedtls' 'boost-libs' 'lksctp-tools' 'libconfig'
- 'libuhd' 'soapysdr' 'bladerf' 'zeromq' 'pcsclite' 'srsgui')
-makedepends=('cmake' 'boost')
-provides=('srsue' 'srsenb' 'srsenb')
-conflicts=('srsue' 'srsenb' 'srsenb')
-source=("$_pkgname-$pkgver.tar.gz::https://github.com/srsran/srsRAN/archive/$_pkgver.tar.gz")
-sha512sums=('dec2aa6d6aee89d0b9a2e425c6ef37701cc57bcd4a4646e3b60b22ef2bc08899c6739fb9f9d90dba3473068561c606843ebb8f3731a3515d206a8aafdba015f1')
-
-prepare() {
- cd $_pkgname-$_pkgver
-
- # Using too old of a version to even attempt to properly fix these
- CFLAGS+=' -Wno-error=stringop-overflow -Wno-error=array-parameter -Wno-error=stringop-truncation'
- CXXFLAGS+=' -Wno-error=stringop-overflow -Wno-error=array-parameter -Wno-error=stringop-truncation'
-
- # Disable failing test
- sed -i '/add_test(ue_rf_failure/d' srsue/src/CMakeLists.txt
-
- mkdir build
-
- cp -r "$srcdir"/$_pkgname-$_pkgver "$srcdir"/$_pkgname-avx2-$_pkgver
-}
-
-build() {
- echo 'Building srslte...'
- cd "$srcdir"/$_pkgname-$_pkgver/build
-
- cmake .. \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DENABLE_GENERIC=True
-
- make
-
- echo 'Building srslte-avx2...'
- cd "$srcdir"/$_pkgname-avx2-$_pkgver/build
-
- cmake .. \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DENABLE_GENERIC=True \
- -DHAVE_AVX2=True
-
- make
-}
-
-check() {
- echo 'Running tests for srslte...'
- cd "$srcdir"/$_pkgname-$_pkgver/build
-
- ctest $(echo $MAKEFLAGS | grep -Po '\-j[0-9][0-9]*')
-
- echo 'Running tests for srslte-avx2...'
- cd "$srcdir"/$_pkgname-avx2-$_pkgver/build
-
- ctest $(echo $MAKEFLAGS | grep -Po '\-j[0-9][0-9]*')
-}
-
-package_srslte() {
- install=$pkgname.install
-
- cd $_pkgname-$_pkgver/build
-
- make DESTDIR="$pkgdir" install
-}
-
-package_srslte-avx2() {
- pkgdesc="$pkgdesc (with AVX2 extensions)"
- provides=($pkgbase)
- conflicts=($pkgbase)
- install=$pkgname.install
-
- cd $_pkgname-avx2-$_pkgver/build
-
- make DESTDIR="$pkgdir" install
-}
Copied: srslte/repos/community-x86_64/PKGBUILD (from rev 966912, srslte/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-06-22 19:10:29 UTC (rev 966913)
@@ -0,0 +1,88 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgbase=srslte
+pkgname=($pkgbase $pkgbase-avx2)
+_pkgname=srsRAN
+pkgver=20.04.2
+_pkgver=release_${pkgver//./_}
+pkgrel=7
+pkgdesc='Open source SDR LTE software suite from Software Radio Systems (SRS)'
+arch=('x86_64')
+url='https://www.srslte.com'
+license=('AGPL3')
+depends=('fftw' 'mbedtls' 'boost-libs' 'lksctp-tools' 'libconfig'
+ 'libuhd' 'soapysdr' 'bladerf' 'zeromq' 'pcsclite' 'srsgui')
+makedepends=('cmake' 'boost')
+provides=('srsue' 'srsenb' 'srsenb')
+conflicts=('srsue' 'srsenb' 'srsenb')
+source=("$_pkgname-$pkgver.tar.gz::https://github.com/srsran/srsRAN/archive/$_pkgver.tar.gz")
+sha512sums=('dec2aa6d6aee89d0b9a2e425c6ef37701cc57bcd4a4646e3b60b22ef2bc08899c6739fb9f9d90dba3473068561c606843ebb8f3731a3515d206a8aafdba015f1')
+
+prepare() {
+ cd $_pkgname-$_pkgver
+
+ # Using too old of a version to even attempt to properly fix these
+ CFLAGS+=' -Wno-error=stringop-overflow -Wno-error=array-parameter -Wno-error=stringop-truncation'
+ CXXFLAGS+=' -Wno-error=stringop-overflow -Wno-error=array-parameter -Wno-error=stringop-truncation'
+
+ # Disable failing test
+ sed -i '/add_test(ue_rf_failure/d' srsue/src/CMakeLists.txt
+
+ mkdir build
+
+ cp -r "$srcdir"/$_pkgname-$_pkgver "$srcdir"/$_pkgname-avx2-$_pkgver
+}
+
+build() {
+ echo 'Building srslte...'
+ cd "$srcdir"/$_pkgname-$_pkgver/build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DENABLE_GENERIC=True
+
+ make
+
+ echo 'Building srslte-avx2...'
+ cd "$srcdir"/$_pkgname-avx2-$_pkgver/build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DENABLE_GENERIC=True \
+ -DHAVE_AVX2=True
+
+ make
+}
+
+check() {
+ echo 'Running tests for srslte...'
+ cd "$srcdir"/$_pkgname-$_pkgver/build
+
+ ctest $(echo $MAKEFLAGS | grep -Po '\-j[0-9][0-9]*')
+
+ echo 'Running tests for srslte-avx2...'
+ cd "$srcdir"/$_pkgname-avx2-$_pkgver/build
+
+ ctest $(echo $MAKEFLAGS | grep -Po '\-j[0-9][0-9]*')
+}
+
+package_srslte() {
+ install=$pkgname.install
+
+ cd $_pkgname-$_pkgver/build
+
+ make DESTDIR="$pkgdir" install
+}
+
+package_srslte-avx2() {
+ pkgdesc="$pkgdesc (with AVX2 extensions)"
+ provides=($pkgbase)
+ conflicts=($pkgbase)
+ install=$pkgname.install
+
+ cd $_pkgname-avx2-$_pkgver/build
+
+ make DESTDIR="$pkgdir" install
+}
Deleted: srslte-avx2.install
===================================================================
--- srslte-avx2.install 2021-06-22 19:10:19 UTC (rev 966912)
+++ srslte-avx2.install 2021-06-22 19:10:29 UTC (rev 966913)
@@ -1,4 +0,0 @@
-post_install(){
- echo 'The binaries in the package include AVX2 instructions.'
- echo 'If your CPU does not support them please use the sdrangel package.'
-}
Copied: srslte/repos/community-x86_64/srslte-avx2.install (from rev 966912, srslte/trunk/srslte-avx2.install)
===================================================================
--- srslte-avx2.install (rev 0)
+++ srslte-avx2.install 2021-06-22 19:10:29 UTC (rev 966913)
@@ -0,0 +1,4 @@
+post_install(){
+ echo 'The binaries in the package include AVX2 instructions.'
+ echo 'If your CPU does not support them please use the sdrangel package.'
+}
Deleted: srslte.install
===================================================================
--- srslte.install 2021-06-22 19:10:19 UTC (rev 966912)
+++ srslte.install 2021-06-22 19:10:29 UTC (rev 966913)
@@ -1,4 +0,0 @@
-post_install(){
- echo 'The binaries in the package have limited SIMD support.'
- echo 'Please consider using srslte-avx2 if your CPU supports AVX2 extensions, it will give you a bigperformance boost.'
-}
Copied: srslte/repos/community-x86_64/srslte.install (from rev 966912, srslte/trunk/srslte.install)
===================================================================
--- srslte.install (rev 0)
+++ srslte.install 2021-06-22 19:10:29 UTC (rev 966913)
@@ -0,0 +1,4 @@
+post_install(){
+ echo 'The binaries in the package have limited SIMD support.'
+ echo 'Please consider using srslte-avx2 if your CPU supports AVX2 extensions, it will give you a bigperformance boost.'
+}
More information about the arch-commits
mailing list