2
0

Add additional optimisation for x86_64 CARCHs

This commit is contained in:
Frederik “Freso” S. Olesen 2024-02-17 20:48:55 +01:00
parent 2670d7fb7f
commit 77d706e621
No known key found for this signature in database
GPG Key ID: 27628EAF5DC1403E
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
pkgbase = pycharm-professional
pkgdesc = Python IDE for Professional Developers. Professional Edition
pkgver = 2023.3.3
pkgrel = 2
pkgrel = 3
url = https://www.jetbrains.com/pycharm/
arch = x86_64
arch = x86_64_v3

View File

@ -3,7 +3,7 @@
pkgname=pycharm-professional
pkgver=2023.3.3
pkgrel=2
pkgrel=3
pkgdesc="Python IDE for Professional Developers. Professional Edition"
arch=('x86_64' 'x86_64_v3' 'aarch64')
url='https://www.jetbrains.com/pycharm/'
@ -50,6 +50,8 @@ build(){
_gccarch='-m64'
if [ "${CARCH}" == "aarch64" ]; then
_gccarch='-march=armv8-a+crypto'
elif [[ "${CARCH}" =~ ^x86_64(|_v[0-9]+)$ ]]; then
_gccarch="-march=${CARCH//_/-}"
fi
# for attach debugger