texlive[70277] Build/source/.github/scripts/build-tl.sh: [GHA] try

commits+preining at tug.org commits+preining at tug.org
Fri Mar 1 04:27:11 CET 2024


Revision: 70277
          https://tug.org/svn/texlive?view=revision&revision=70277
Author:   preining
Date:     2024-03-01 04:27:11 +0100 (Fri, 01 Mar 2024)
Log Message:
-----------
[GHA] try building asy for some systems

Modified Paths:
--------------
    trunk/Build/source/.github/scripts/build-tl.sh

Modified: trunk/Build/source/.github/scripts/build-tl.sh
===================================================================
--- trunk/Build/source/.github/scripts/build-tl.sh	2024-03-01 02:38:13 UTC (rev 70276)
+++ trunk/Build/source/.github/scripts/build-tl.sh	2024-03-01 03:27:11 UTC (rev 70277)
@@ -120,4 +120,25 @@
 ./Build -C $BUILDARGS
 
 mv inst/bin/* $arch
+
+#
+# Build asy if possible
+#
+case $buildsys in 
+   ubuntu|debian)
+     export DEBIAN_FRONTEND=noninteractive
+     apt-get install build-essential pkg-config libeigen3-dev libcurl4-openssl-dev libreadline-dev libboost-filesystem-dev libtirpc-dev flex libglu1-mesa-dev freeglut3-dev libosmesa6-dev libreadline6-dev zlib1g-dev bison libglm-dev libncurses-dev
+     cd utils/asymptote
+     ./configure --prefix=/tmp/asyinst --enable-static --enable-texlive-build CXXFLAGS=-std=c++11 --disable-gsl --disable-fftw --disable-lsp
+     sed -i -e 's/^LIBS = /LIBS = -static-libgcc -static-libstdc++ /' Makefile
+     make -j2
+     strip asy
+     cp asy ../../$arch.
+     ;;
+esac
+
+    
+
+
+
 tar czvf texlive-bin-$arch.tar.gz $arch



More information about the tex-live-commits mailing list.