Date: Saturday, December 3, 2022 @ 17:24:44
  Author: arojas
Revision: 1356357

archrelease: copy trunk to community-x86_64

Added:
  srslte/repos/community-x86_64/PKGBUILD
    (from rev 1356356, srslte/trunk/PKGBUILD)
  srslte/repos/community-x86_64/gcc-12.patch
    (from rev 1356356, srslte/trunk/gcc-12.patch)
  srslte/repos/community-x86_64/srslte-avx2.install
    (from rev 1356356, srslte/trunk/srslte-avx2.install)
  srslte/repos/community-x86_64/srslte.install
    (from rev 1356356, srslte/trunk/srslte.install)
Deleted:
  srslte/repos/community-x86_64/PKGBUILD
  srslte/repos/community-x86_64/gcc-12.patch
  srslte/repos/community-x86_64/srslte-avx2.install
  srslte/repos/community-x86_64/srslte.install

---------------------+
 PKGBUILD            |  180 +++++++++++++++++++++++++-------------------------
 gcc-12.patch        |   24 +++---
 srslte-avx2.install |    8 +-
 srslte.install      |    8 +-
 4 files changed, 110 insertions(+), 110 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-03 17:24:31 UTC (rev 1356356)
+++ PKGBUILD    2022-12-03 17:24:44 UTC (rev 1356357)
@@ -1,90 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <[email protected]>
-
-pkgbase=srslte
-pkgname=($pkgbase $pkgbase-avx2)
-_pkgname=srsRAN
-pkgver=22.04.1
-_pkgver=release_${pkgver//./_}
-pkgrel=1
-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=('3f8e3765df8740be4a33457735bfd0f79e42a521076b7226020b4682eb3ddd2ff4fbeffb0eff56b1eddf43252963fc5899d261e6c30a7a558dd4b7667ee93f6d')
-options=(!lto)
-
-prepare() {
-  cd $_pkgname-$_pkgver
-
-  # Using too old of a version to even attempt to properly fix these
-  sed -e '/-Werror\"/d' -i CMakeLists.txt
-  CXXFLAGS+=' -Wno-error -Wp,-U_GLIBCXX_ASSERTIONS'
-
-  # 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
-
-# network_utils_test fails on build server
-  ctest $(echo $MAKEFLAGS | grep -Po '\-j[0-9][0-9]*') -E network_utils_test
-
-  echo 'Running tests for srslte-avx2...'
-  cd "$srcdir"/$_pkgname-avx2-$_pkgver/build
-
-  ctest $(echo $MAKEFLAGS | grep -Po '\-j[0-9][0-9]*') -E network_utils_test
-}
-
-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 1356356, 
srslte/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-12-03 17:24:44 UTC (rev 1356357)
@@ -0,0 +1,90 @@
+# Maintainer: Filipe Laíns (FFY00) <[email protected]>
+
+pkgbase=srslte
+pkgname=($pkgbase $pkgbase-avx2)
+_pkgname=srsRAN
+pkgver=22.10
+_pkgver=release_${pkgver//./_}
+pkgrel=1
+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=('3ede785a40674729eb0159fc1edade6a3b1a6edc58f712e2d3c512625e720e01da140ba9da88ab146a94cd5acf1e6054c3a8b468c27780f62e43cf96852e9c3b')
+options=(!lto)
+
+prepare() {
+  cd $_pkgname-$_pkgver
+
+  # Using too old of a version to even attempt to properly fix these
+  sed -e '/-Werror\"/d' -i CMakeLists.txt
+  CXXFLAGS+=' -Wno-error -Wp,-U_GLIBCXX_ASSERTIONS'
+
+  # 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
+
+# network_utils_test fails on build server
+  ctest $(echo $MAKEFLAGS | grep -Po '\-j[0-9][0-9]*') -E network_utils_test
+
+  echo 'Running tests for srslte-avx2...'
+  cd "$srcdir"/$_pkgname-avx2-$_pkgver/build
+
+  ctest $(echo $MAKEFLAGS | grep -Po '\-j[0-9][0-9]*') -E network_utils_test
+}
+
+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: gcc-12.patch
===================================================================
--- gcc-12.patch        2022-12-03 17:24:31 UTC (rev 1356356)
+++ gcc-12.patch        2022-12-03 17:24:44 UTC (rev 1356357)
@@ -1,12 +0,0 @@
-diff --git a/lib/include/srsran/srslog/bundled/fmt/core.h 
b/lib/include/srsran/srslog/bundled/fmt/core.h
-index d676f27e5..d5c6f423a 100644
---- a/lib/include/srsran/srslog/bundled/fmt/core.h
-+++ b/lib/include/srsran/srslog/bundled/fmt/core.h
-@@ -8,6 +8,7 @@
- #ifndef FMT_CORE_H_
- #define FMT_CORE_H_
- 
-+#include <array>
- #include <cstdio>  // std::FILE
- #include <cstring>
- #include <functional>

Copied: srslte/repos/community-x86_64/gcc-12.patch (from rev 1356356, 
srslte/trunk/gcc-12.patch)
===================================================================
--- gcc-12.patch                                (rev 0)
+++ gcc-12.patch        2022-12-03 17:24:44 UTC (rev 1356357)
@@ -0,0 +1,12 @@
+diff --git a/lib/include/srsran/srslog/bundled/fmt/core.h 
b/lib/include/srsran/srslog/bundled/fmt/core.h
+index d676f27e5..d5c6f423a 100644
+--- a/lib/include/srsran/srslog/bundled/fmt/core.h
++++ b/lib/include/srsran/srslog/bundled/fmt/core.h
+@@ -8,6 +8,7 @@
+ #ifndef FMT_CORE_H_
+ #define FMT_CORE_H_
+ 
++#include <array>
+ #include <cstdio>  // std::FILE
+ #include <cstring>
+ #include <functional>

Deleted: srslte-avx2.install
===================================================================
--- srslte-avx2.install 2022-12-03 17:24:31 UTC (rev 1356356)
+++ srslte-avx2.install 2022-12-03 17:24:44 UTC (rev 1356357)
@@ -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 1356356, 
srslte/trunk/srslte-avx2.install)
===================================================================
--- srslte-avx2.install                         (rev 0)
+++ srslte-avx2.install 2022-12-03 17:24:44 UTC (rev 1356357)
@@ -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      2022-12-03 17:24:31 UTC (rev 1356356)
+++ srslte.install      2022-12-03 17:24:44 UTC (rev 1356357)
@@ -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 1356356, 
srslte/trunk/srslte.install)
===================================================================
--- srslte.install                              (rev 0)
+++ srslte.install      2022-12-03 17:24:44 UTC (rev 1356357)
@@ -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.'
+}

Reply via email to