[arch-commits] Commit in monero-gui/trunk (PKGBUILD no-avx2.patch)

Kpcyrd kpcyrd at archlinux.org
Mon Dec 16 05:03:29 UTC 2019


    Date: Monday, December 16, 2019 @ 05:03:28
  Author: kpcyrd
Revision: 537827

Do not attempt to use AVX2 instructions

Added:
  monero-gui/trunk/no-avx2.patch
Modified:
  monero-gui/trunk/PKGBUILD

---------------+
 PKGBUILD      |    9 ++++++---
 no-avx2.patch |   13 +++++++++++++
 2 files changed, 19 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-16 01:33:46 UTC (rev 537826)
+++ PKGBUILD	2019-12-16 05:03:28 UTC (rev 537827)
@@ -2,9 +2,9 @@
 
 pkgname=monero-gui
 pkgver=0.15.0.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Official QT GUI wallet for Monero, a private, secure, untraceable peer-to-peer currency"
-license=('custom:Cryptonote')
+license=('BSD')
 arch=('x86_64')
 url="https://getmonero.org/"
 depends=('boost-libs' 'libunwind' 'openssl' 'readline' 'zeromq' 'pcsclite' 'hidapi' 'unbound'
@@ -13,9 +13,11 @@
 source=(
     "${pkgname}"::"git+https://github.com/monero-project/monero-gui#tag=v${pkgver}"
     "git+https://github.com/monero-project/monero.git"
+    "no-avx2.patch"
 )
 sha512sums=('SKIP'
-            'SKIP')
+            'SKIP'
+            'dab89406ce77cd7e96adfe81156d262aa8457220b73dcfe86be50bf0322230319efb73517954e126ef77b8c90d68fb706d924ce432f9c6aabac3f94cd55ea553')
 
 prepare() {
   cd "${pkgname}"
@@ -22,6 +24,7 @@
   git submodule init
   git config submodule.monero.url "$srcdir/monero"
   git submodule update
+  patch --forward --strip=1 --input="${srcdir}/no-avx2.patch"
 }
 
 build() {

Added: no-avx2.patch
===================================================================
--- no-avx2.patch	                        (rev 0)
+++ no-avx2.patch	2019-12-16 05:03:28 UTC (rev 537827)
@@ -0,0 +1,13 @@
+diff --git a/get_libwallet_api.sh b/get_libwallet_api.sh
+index 90d0408..4f5bb91 100755
+--- a/get_libwallet_api.sh
++++ b/get_libwallet_api.sh
+@@ -158,7 +158,7 @@ elif [ "$platform" == "linux64" ]; then
+     elif [ "$STATIC" == true ]; then
+         cmake -D CMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -D STATIC=ON -D ARCH="x86-64" -D BUILD_64=ON -D BUILD_TAG="linux-x64" -D BUILD_GUI_DEPS=ON -D INSTALL_VENDORED_LIBUNBOUND=ON $BUILD_TREZOR_FLAGS -D CMAKE_INSTALL_PREFIX="$MONERO_DIR"  ../..
+     else
+-        cmake -D CMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -D BUILD_TAG="linux-x64" -D BUILD_GUI_DEPS=ON $BUILD_TREZOR_FLAGS -D CMAKE_INSTALL_PREFIX="$MONERO_DIR"  ../..
++        cmake -D CMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -D ARCH="default" -D BUILD_TAG="linux-x64" -D BUILD_GUI_DEPS=ON $BUILD_TREZOR_FLAGS -D CMAKE_INSTALL_PREFIX="$MONERO_DIR"  ../..
+     fi
+ 
+ ## LINUX 32



More information about the arch-commits mailing list