texlive[70373] Build/source/.github/scripts/build-asy.sh: [GHA]
commits+preining at tug.org
commits+preining at tug.org
Sun Mar 3 16:21:14 CET 2024
Revision: 70373
https://tug.org/svn/texlive?view=revision&revision=70373
Author: preining
Date: 2024-03-03 16:21:14 +0100 (Sun, 03 Mar 2024)
Log Message:
-----------
[GHA] build-asy: need gmake for bsd
Modified Paths:
--------------
trunk/Build/source/.github/scripts/build-asy.sh
Modified: trunk/Build/source/.github/scripts/build-asy.sh
===================================================================
--- trunk/Build/source/.github/scripts/build-asy.sh 2024-03-03 15:09:32 UTC (rev 70372)
+++ trunk/Build/source/.github/scripts/build-asy.sh 2024-03-03 15:21:14 UTC (rev 70373)
@@ -43,6 +43,31 @@
esac
fi
+# special cases
+export TL_MAKE=make
+case "$arch" in
+ *-solaris)
+ export PATH=/opt/csw/bin:$PATH
+ export TL_MAKE=gmake
+ if [ $arch = "i386-solaris" ]
+ then
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ else
+ export CC="gcc -m64"
+ export CXX="g++ -m64"
+ fi
+ ;;
+ *-freebsd)
+ export TL_MAKE=gmake
+ export CC=gcc
+ export CXX=g++
+ export CFLAGS=-D_NETBSD_SOURCE
+ export CXXFLAGS='-D_NETBSD_SOURCE -std=c++11'
+ ;;
+esac
+
+
find . -name \*.info -exec touch '{}' \;
touch ./utils/asymptote/camp.tab.cc
touch ./utils/asymptote/camp.tab.h
@@ -51,7 +76,7 @@
cd utils/asymptote
./configure --prefix=/tmp/asyinst --enable-static --enable-texlive-build CXXFLAGS=-std=c++11 \
--disable-gsl --disable-fftw --disable-lsp --disable-curl
-make -j2
+$TL_MAKE -j2
strip asy
mv asy ../../asy-$arch
More information about the tex-live-commits
mailing list.