Add additional optimisation for x86_64 CARCHs
This commit is contained in:
parent
2670d7fb7f
commit
77d706e621
2
.SRCINFO
2
.SRCINFO
@ -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
|
||||
|
4
PKGBUILD
4
PKGBUILD
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user