-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix-hashtable-delete
- Loading branch information
Showing
18 changed files
with
348 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,19 @@ function travis_time_end { | |
if [ "$TRAVIS_OS_NAME" == "linux" ]; then | ||
|
||
travis_time_start setup.apt-get_update | ||
if [[ "$DOCKER_IMAGE" == *"stretch" || "$DOCKER_IMAGE" == *"jessie" ]] ; then | ||
cat /etc/apt/sources.list | ||
sed -i [email protected]@archive.debian.org@ /etc/apt/sources.list; | ||
sed -i [email protected]@archive.debian.org@ /etc/apt/sources.list; | ||
sed -i [email protected]/[email protected]/debian-security@ /etc/apt/sources.list | ||
sed -i '/-updates/ s/^#*/#/' /etc/apt/sources.list | ||
fi | ||
if [[ "$DOCKER_IMAGE" == *"buster" ]] ; then | ||
cat /etc/apt/sources.list | ||
sed -i '[email protected]/debian [email protected]/debian buster@' /etc/apt/sources.list; | ||
sed -i '/-updates/ s/^#*/#/' /etc/apt/sources.list | ||
cat /etc/apt/sources.list | ||
fi | ||
if [ ! -e /usr/bin/sudo ] ; then apt-get update && apt-get install -y sudo; else sudo apt-get update; fi | ||
travis_time_end | ||
|
||
|
@@ -42,7 +55,7 @@ if [ "$TRAVIS_OS_NAME" == "linux" ]; then | |
travis_time_end | ||
|
||
travis_time_start setup.apt-get_install | ||
ret=1; while [ $ret != 0 ]; do sudo apt-get install -qq -y git make gcc g++ libjpeg-dev libxext-dev libx11-dev libgl1-mesa-dev libglu1-mesa-dev libpq-dev libpng-dev xfonts-100dpi xfonts-75dpi pkg-config libbullet-dev && ret=0 || echo "failed, retry"; done # msttcorefonts could not install on 14.04 travis | ||
ret=1; while [ $ret != 0 ]; do sudo apt-get install -qq -y --force-yes git make gcc g++ libjpeg-dev libxext-dev libx11-dev libgl1-mesa-dev libglu1-mesa-dev libpq-dev libpng-dev xfonts-100dpi xfonts-75dpi pkg-config libbullet-dev && ret=0 || echo "failed, retry"; done # msttcorefonts could not install on 14.04 travis | ||
# unset protocol version https://github.com/juju/charm-tools/issues/532 | ||
git config --global --unset protocol.version || echo "OK" | ||
if [ "`uname -m`" == "x86_64" ] ; then sudo apt-get install -qq -y texlive-latex-base ptex-bin latex2html nkf poppler-utils || echo "ok"; fi # 16.04 does ont have ptex bin | ||
|
@@ -67,9 +80,9 @@ if [ "$TRAVIS_OS_NAME" == "osx" ]; then | |
fi | ||
|
||
### for multiarch compile test | ||
if [[ "$QEMU" != "" && "$DOCKER_IMAGE" != "arm64v8/ubuntu:"* ]]; then | ||
if [[ "$QEMU" != "" ]]; then | ||
travis_time_start install.dpkg-dev | ||
apt-get install -qq -y dpkg-dev patchutils | ||
apt-get install -qq -y --force-yes dpkg-dev patchutils | ||
travis_time_end | ||
|
||
echo "uname -a : $(uname -a)" | ||
|
@@ -83,8 +96,8 @@ if [[ "$QEMU" != "" && "$DOCKER_IMAGE" != "arm64v8/ubuntu:"* ]]; then | |
git clone http://salsa.debian.org/science-team/euslisp /tmp/euslisp-dfsg | ||
for file in $(cat /tmp/euslisp-dfsg/debian/patches/series); do | ||
# skip patches already applied by https://github.com/euslisp/EusLisp/pull/482 | ||
[[ $file =~ use-rtld-global-loadelf.patch|fix-arm-ldflags.patch|fix-library-not-linked-against-libc.patch|fix-manpage-has-bad-whatis-entry-on-man-pages.patch ]] && continue; | ||
# skip patch already applied by https://github.com/euslisp/EusLisp/pull/441 | ||
[[ $file =~ use-rtld-global-loadelf.patch|fix-arm-ldflags.patch|fix-library-not-linked-against-libc.patch|fix-manpage-has-bad-whatis-entry-on-man-pages.patch|fix-jpegmemcd-compile-error.patch ]] && continue; | ||
# skip patch already applied by https://github.com/euslisp/EusLisp/pull/441, https://github.com/euslisp/EusLisp/pull/509 | ||
if [[ $file =~ fix-for-reprotest.patch ]]; then | ||
filterdiff -p1 -x 'lisp/image/jpeg/makefile' -x 'lisp/comp/comp.l' < /tmp/euslisp-dfsg/debian/patches/$file > /tmp/euslisp-dfsg/debian/patches/$file-fix | ||
file=$file-fix | ||
|
@@ -121,6 +134,9 @@ if [[ "$QEMU" != "" && "$DOCKER_IMAGE" != "arm64v8/ubuntu:"* ]]; then | |
|
||
sed -i 's/\(i-max\ [0-9]000\)0*/\1/' $test_l | ||
|
||
# TEST-NAME: test-copy-object-body : extending gcstack 0 -> Segfault | ||
if [[ (( "$DOCKER_IMAGE" == "arm64v8/debian:buster" || "$DOCKER_IMAGE" == "arm64v8/ubuntu:focal" ) && $test_l =~ object.l ) ]]; then sed -i 's/dotimes (i 1000)/dotimes (i 10)/' $test_l; fi | ||
eusgl $test_l; | ||
export TMP_EXIT_STATUS=$? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,9 +24,15 @@ distclean: clean | |
rm -f *.dvi *.pdf | ||
|
||
html: | ||
rm -f ../html/manual*.{old,html,png,pl} ../html/manual-images.* | ||
TRANSPARENT_COLOR="#ffffff" latex2html -dir ../html/ -transparent -local_icons -split +3 -auto_prefix -iso_language JP -address "This document was generated using the LaTeX2HTML translator on `date` from <a href=\"http://github.com/euslisp/EusLisp.git\">EusLisp</a> version <a href=\"http://github.com/euslisp/EusLisp/commit/`git rev-parse --verify HEAD`\">`git log -1 --oneline`</a>" -html_version="4.0,unicode" manual | ||
(cd ../html; for imgfile in manual-img*.png; do pngtopnm $$imgfile > /tmp/$$imgfile.pnm; pnmtopng -transparent white /tmp/$$imgfile.pnm > $$imgfile; done) | ||
rm -f ../html/manual*.{old,html,png,svg,pl} ../html/manual-images.* | ||
for psfile in fig/*.ps; do ps2eps -f -B $$psfile; done | ||
sed -i.eps.bak s/\\.ps/\\.eps/g *.tex | ||
(cd ../html; ln -sf ../latex/fig .) | ||
TRANSPARENT_COLOR="#ffffff" latex2html -rootdir ../html/ -transparent -local_icons -split +3 -auto_prefix -iso_language JP -address "This document was generated using the LaTeX2HTML translator on `date` from <a href=\"http://github.com/euslisp/EusLisp.git\">EusLisp</a> version <a href=\"http://github.com/euslisp/EusLisp/commit/`git rev-parse --verify HEAD`\">`git log -1 --oneline`</a>" -html_version="4.0,unicode" manual | ||
rm ../html/fig | ||
for backup in *.eps.bak; do mv $$backup $$(basename $$backup .eps.bak); done | ||
sed -i s@HREF=\"../manual@HREF=\"manual@ ../html/manual-node*.html | ||
#(cd ../html; for imgfile in manual-img*.png; do pngtopnm $$imgfile > /tmp/$$imgfile.pnm; pnmtopng -transparent white /tmp/$$imgfile.pnm > $$imgfile; done) | ||
|
||
latex.py: | ||
wget https://raw.githubusercontent.com/jobh/latex.py/master/latex.py | ||
|
@@ -36,7 +42,7 @@ TEXFILES=$(filter-out manual.tex, $(wildcard *.tex)) | |
RSTFILES=$(TEXFILES:%.tex=%.rst) | ||
%.rst : %.tex | ||
python3 latex.py -2 -L preamble.tex $< > /tmp/tmp_$^ | ||
pandoc /tmp/tmp_$^ -o $@ -V documentclass=ltjarticle --latex-engine=lualatex | ||
pandoc /tmp/tmp_$^ -o $@ -V documentclass=ltjarticle | ||
sed -i 's@.. figure:: \(.*\).ps@.. figure:: \1.png@g' $@ # use png for figures | ||
|
||
PSFILES=$(wildcard fig/*.ps) | ||
|
@@ -53,7 +59,7 @@ manual.rst: latex.py $(RSTFILES) $(PNGFILES) | |
sed -i 's@\\part{\(.*\)}@.. toctree:: \1@' /tmp/manual.tex # convert \part in tex to bypass pandoc | ||
sed -i ':a;/^[^%].*\\\\$$/{N;s/\\\\\n//;ba}' /tmp/manual.tex # concatinate title/author multi lines | ||
sed -i '/^\\vspace{10mm}$$/d' /tmp/manual.tex # remove vspace{10mm} within title to pass pandoc | ||
pandoc --no-wrap -s /tmp/manual.tex -o manual.rst -V documentclass=ltjarticle --latex-engine=lualatex | ||
pandoc --wrap=none -s /tmp/manual.tex -o manual.rst -V documentclass=ltjarticle | ||
sed -i '[email protected]:: \(.*\)@ \1@' manual.rst # restore ..include for rst | ||
sed -i 's@.. toctree:: \(.*\)@.. toctree::\n :maxdepth: 1\n :caption: \1@' manual.rst # restore ..toctree for rst | ||
sed -i 's@** Featuring@**\nFeaturing@' manual.rst # add newline before Featuring in title | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.