diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-03-09 16:24:40 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-03-09 16:24:40 +0100 |
commit | 9d8946a6ecfc19d01d8da12f20572bbfc556977f (patch) | |
tree | 74e1a5ced3c6da0dd7b3d9136227c842cf664ad1 /i486-stage3 | |
parent | b65446e7266cca71d3505637da9191a1dd169e14 (diff) | |
download | bootstrap32-9d8946a6ecfc19d01d8da12f20572bbfc556977f.tar.xz |
added python3 and python2 in stage 3 (no modules yet)
on the way to build meson for systemd
Diffstat (limited to 'i486-stage3')
-rw-r--r-- | i486-stage3/ninja/DESCR | 3 | ||||
-rw-r--r-- | i486-stage3/python/DESCR | 2 | ||||
-rw-r--r-- | i486-stage3/python2/DESCR | 18 |
3 files changed, 23 insertions, 0 deletions
diff --git a/i486-stage3/ninja/DESCR b/i486-stage3/ninja/DESCR new file mode 100644 index 0000000..39d6430 --- /dev/null +++ b/i486-stage3/ninja/DESCR @@ -0,0 +1,3 @@ +# no emacs +sed -i "/makedepends=/s/emacs-nox//" PKGBUILD +sed -i "s/\(.*emacs.*\)/#\1/g" PKGBUILD diff --git a/i486-stage3/python/DESCR b/i486-stage3/python/DESCR index 1e44107..a640b99 100644 --- a/i486-stage3/python/DESCR +++ b/i486-stage3/python/DESCR @@ -13,4 +13,6 @@ sed -i "s/\(while\)/#\1/" PKGBUILD sed -i 's@LC_CTYPE=en_US.UTF-8 xvfb-run -a -n "$servernum" make EXTRA_CFLAGS="$CFLAGS"@LC_CTYPE=en_US.UTF-8 make EXTRA_CFLAGS="$CFLAGS"@g' PKGBUILD # no LTO (we don't have support for it yet) +# we don't optimize for speed as this runs the internal profiling tests sed -i "s/--with-lto/--without-lto/" PKGBUILD +sed -i "s/--enable-optimizations/--disable-optimizations/" PKGBUILD diff --git a/i486-stage3/python2/DESCR b/i486-stage3/python2/DESCR new file mode 100644 index 0000000..a640b99 --- /dev/null +++ b/i486-stage3/python2/DESCR @@ -0,0 +1,18 @@ +# remove dependency on most things, we want only a simple interpreter +# a little bit smarter than a shell for building and code generation +sed -i "/makedepends=/s/'tk'//" PKGBUILD +sed -i "/makedepends=/s/'sqlite'//" PKGBUILD +sed -i "/makedepends=/s/'valgrind'//" PKGBUILD +sed -i "/makedepends=/s/'bluez-libs'//" PKGBUILD +sed -i "/makedepends=/s/'llvm'//" PKGBUILD + +# do not start X servers just for building software! +sed -i "/makedepends=/s/'xorg-server-xvfb'//" PKGBUILD +sed -i "s/\(export servernum=99\)/#\1/" PKGBUILD +sed -i "s/\(while\)/#\1/" PKGBUILD +sed -i 's@LC_CTYPE=en_US.UTF-8 xvfb-run -a -n "$servernum" make EXTRA_CFLAGS="$CFLAGS"@LC_CTYPE=en_US.UTF-8 make EXTRA_CFLAGS="$CFLAGS"@g' PKGBUILD + +# no LTO (we don't have support for it yet) +# we don't optimize for speed as this runs the internal profiling tests +sed -i "s/--with-lto/--without-lto/" PKGBUILD +sed -i "s/--enable-optimizations/--disable-optimizations/" PKGBUILD |