Skip to content

Commit 135e5fb

Browse files
committed
fix: use new native-comp flag when compiling emacs
1 parent ca3e012 commit 135e5fb

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

PKGBUILD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ build() {
2626
--with-x-toolkit=gtk3
2727
--with-cairo
2828
--with-xwidgets
29-
--with-nativecomp
29+
--with-native-compilation
3030
--with-pgtk
3131
--without-compress-install
3232
--without-gconf
@@ -36,9 +36,9 @@ build() {
3636
--enable-link-time-optimization
3737
)
3838

39-
./configure --with-nativecomp CC='clang' "${_conf[@]}"
39+
./configure "${_conf[@]}"
4040

41-
make -j$(nproc)
41+
make NATIVE_FAST_BOOT=1
4242
}
4343

4444
package() {

ci/build-artifacts.bash

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ set -euxo pipefail
55
cd /home/pcr
66

77
# Get sources
8+
cp /__w/emacs-gcc-wayland-devel-builder/emacs-gcc-wayland-devel-builder/pull.bash pull.bash
9+
cp /__w/emacs-gcc-wayland-devel-builder/emacs-gcc-wayland-devel-builder/PKGBUILD PKGBUILD
810
./pull.bash
911
chown -R pcr:pcr emacs
1012

ci/push-to-aur.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cd /home/pcr/emacs-gcc-wayland-devel-bin
2727
# Amend package, set pkgver, sha512 sum and pkgrel + fix permissions
2828
sed -i -r -e 's~pkgver=.*~pkgver='$PKG_VERSION'~' PKGBUILD
2929
sed -i -r -e 's~sha512sums=.*~sha512sums=\("'"$sum"'"\)~' PKGBUILD
30-
sed -i -r -e 's/pkgrel=.*/pkgrel=1/' PKGBUILD
30+
sed -i -r -e 's/pkgrel=.*/pkgrel=2/' PKGBUILD
3131
rm .SRCINFO
3232
su pcr -c "makepkg --printsrcinfo" > .SRCINFO
3333
chown -R pcr:pcr .SRCINFO

0 commit comments

Comments
 (0)