Codebase list texlive-bin / debian/2014.20140528.34243-3
switch to whitelisting of luajittex building Norbert Preining 9 years ago
2 changed file(s) with 23 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
0 texlive-bin (2014.20140528.34243-3~2) UNRELEASED; urgency=medium
0 texlive-bin (2014.20140528.34243-3) unstable; urgency=medium
11
22 [ Norbert Preining ]
33 * import three patches from luatex upupstream
4 * add more luajit exception (x32, mips64, mips64el)
4 * build luajittex based on whitelisting good archs
55 (Closes: #751150, #752041, #752065)
66 * Include upstream changes to support building synctex as shared
77 library, based on a patch by Sebastian Ramacher.
1212 files.
1313 - debian/rules: Adopt for new binary packages.
1414
15 -- Norbert Preining <preining@debian.org> Sun, 29 Jun 2014 10:24:55 +0900
15 -- Norbert Preining <preining@debian.org> Sun, 29 Jun 2014 12:10:53 +0900
1616
1717 texlive-bin (2014.20140528.34243-2) unstable; urgency=medium
1818
33 export SHELL=/bin/bash
44 export CONFIG_SHELL=/bin/sh
55
6 #
7 # the configure code already checks a lot, but it does not catch
8 # all cases. We have now two ways to test for where to build.
9 # One by disabling on the other platforms, one by whitelisting
10 # and building only on some platforms.
611 LUAJIT_FAIL_ARCHS := s390x hppa arm64 ppc64 ppc64el x32 mips64 mips64el m68k
12 LUAJIT_GOOD_ARCHS := amd64 armel armhf hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc
713
814 # In case one wants to build with old automake (<< 1.13.1), the following
915 # variable has to be set. By default the debian/control requires high
1521 ifeq ($(DEB_HOST_ARCH), alpha)
1622 export LDFLAGS = -Wl,--no-relax
1723 endif
18 ifneq (,$(filter $(DEB_HOST_ARCH), $(LUAJIT_FAIL_ARCHS)))
19 DISABLE_JIT=--disable-luajittex
24
25 # for blacklisting bad archs
26 #ifneq (,$(filter $(DEB_HOST_ARCH), $(LUAJIT_FAIL_ARCHS)))
27 # DISABLE_JIT=--disable-luajittex
28 #endif
29
30 # for whitelisting good archs
31 ifeq (,$(filter $(DEB_HOST_ARCH), $(LUAJIT_GOOD_ARCHS)))
32 # it is not in the list of good archs -> disable luajittex
33 BUILDLUAJITTEX=--disable-luajittex
34 else
35 # not necessary, but for completeness
36 BUILDLUAJITTEX=--enable-luajittex
2037 endif
2138
2239 #
7794 --with-x \
7895 --with-mf-x-toolkit \
7996 --with-xdvi-x-toolkit=xaw \
80 $(DISABLE_JIT) \
97 $(BUILDLUAJITTEX) \
8198 --disable-lcdf-typetools \
8299 --disable-biber \
83100 --disable-dvipng \