summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-24 23:44:26 +0000
committerKarl Berry <karl@freefriends.org>2023-02-24 23:44:26 +0000
commit9902130c4ef418b11f41d6541b6822b08dd2b972 (patch)
tree0f140d17e013f0795f40a6539e6096b4198704fd /Master/tlpkg/bin/tl-update-asy
parent1d767fbab8a7c2205f3e1bbc274a746368abaf85 (diff)
doc,sync
git-svn-id: svn://tug.org/texlive/trunk@66136 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-asy')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-asy19
1 files changed, 19 insertions, 0 deletions
diff --git a/Master/tlpkg/bin/tl-update-asy b/Master/tlpkg/bin/tl-update-asy
index 4a5e522e716..17fe0dbe296 100755
--- a/Master/tlpkg/bin/tl-update-asy
+++ b/Master/tlpkg/bin/tl-update-asy
@@ -127,3 +127,22 @@ elif false && $update_runtime_from_ainst; then
svn status $ci # just to see
scom -m"asymptote $ver support files, windows binaries" $ci
fi
+
+# the production build on x86_64-linux and i386-linux:
+#
+# cd .../Build/source/utils
+# docker run -it -v "$(pwd)/asymptote:/asymptote" --entrypoint bash debian:10
+#
+# In the docker container you are dropped in:
+# apt update
+# apt upgrade
+# # note we do NOT install libtirpc-dev because it cannot disabled by configure
+# apt install build-essential pkg-config libeigen3-dev libcurl4-openssl-dev libreadline-dev libboost-filesystem-dev flex libglu1-mesa-dev freeglut3-dev libosmesa6-dev libreadline6-dev zlib1g-dev bison libglm-dev libncurses-dev
+# cd /asymptote
+# ./configure --prefix=/tmp/asyinst --enable-static --enable-texlive-build CXXFLAGS=-std=c++11 --disable-gsl --disable-fftw --disable-lsp --disable-curl
+# sed -i -e 's/^LIBS = /LIBS = -static-libgcc -static-libstdc++ /' Makefile
+# make -j6
+# exit
+# Strip and copy the resulting asy.
+# For i386 binaries:
+# docker run -it -v "$(pwd)/asymptote:/asymptote" --entrypoint bash i386/debian:10