From b15818ddc06d499bac1bac5640682d40901e9588 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Sat, 17 Nov 2018 04:43:08 +0000 Subject: TeX Live also built within the pipeline (no extra packages yet) TeX Live is now also downloaded and built by the reproduction pipeline. Currently on the basic (TeX and LaTeX) source is built but no extra packages, so the PDF building will fail. We'll add them in the next commit. --- configure | 6 ++--- reproduce/config/pipeline/dependency-versions.mk | 2 +- reproduce/config/pipeline/texlive.conf | 29 ++++++++++++++++++++++++ reproduce/src/make/dependencies-build-rules.mk | 2 +- reproduce/src/make/dependencies.mk | 24 ++++++++++++++++++-- reproduce/src/make/initialize.mk | 11 ++++----- reproduce/src/make/paper.mk | 4 ++-- 7 files changed, 63 insertions(+), 15 deletions(-) create mode 100644 reproduce/config/pipeline/texlive.conf diff --git a/configure b/configure index 76b6879..5f21e04 100755 --- a/configure +++ b/configure @@ -452,7 +452,7 @@ fi # Inform the user that the build process is starting # ------------------------------------------------- -tsec=10 +tsec=0 cat < texlive.conf + ./install-tl --profile=texlive.conf + cd .. + rm -rf install-tl-* diff --git a/reproduce/src/make/initialize.mk b/reproduce/src/make/initialize.mk index 5c0aac5..943efdd 100644 --- a/reproduce/src/make/initialize.mk +++ b/reproduce/src/make/initialize.mk @@ -55,7 +55,7 @@ pconfdir = reproduce/config/pipeline # built programs). sys-path := $(PATH) sys-rm := $(shell which rm) - +curdir := $(shell echo $$(pwd)) # High level environment @@ -71,11 +71,11 @@ sys-rm := $(shell which rm) # build here. .ONESHELL: .SHELLFLAGS = -ec -LD_LIBRARY_PATH := .local/lib -PATH := .local/bin -LDFLAGS := -L.local/lib SHELL := .local/bin/bash -CPPFLAGS := -I.local/include +LD_LIBRARY_PATH := $(curdir)/.local/lib +LDFLAGS := -L$(curdir)/.local/lib +CPPFLAGS := -I$(curdir)/.local/include +PATH := $(curdir)/.local/bin:$(shell ls -d $$(pwd)/.local/texlive/2018/bin/*) @@ -211,7 +211,6 @@ $(mtexdir)/initialize.tex: | $(mtexdir) $(call pvcheck, xz, $(xz-version), XZ Utils, xzversion) # Bzip2 prints its version in standard error, not standard output! - echo "here0" echo "" | bzip2 --version &> $@_bzip2_ver; v=$$(awk 'NR==1 && /'$(bzip2-version)'/{print "y"; exit 0}' \ $@_bzip2_ver); \ diff --git a/reproduce/src/make/paper.mk b/reproduce/src/make/paper.mk index eaa1948..aec29c7 100644 --- a/reproduce/src/make/paper.mk +++ b/reproduce/src/make/paper.mk @@ -39,7 +39,7 @@ $(texbdir)/paper.bbl: tex/references.tex \ | $(tikzdir) $(texbdir) tex/pipeline.tex # To find LaTeX (which currently isn't internally installed). - PATH=$(sys-path) + #PATH=$(sys-path) # We'll run LaTeX first to generate the `.bcf' file (necessary for # `biber') and then run `biber' to generate the `.bbl' file. @@ -65,7 +65,7 @@ paper.pdf: tex/pipeline.tex paper.tex $(texbdir)/paper.bbl \ | $(tikzdir) $(texbdir) # To find LaTeX (which currently isn't internally installed). - PATH=$(sys-path) + #PATH=$(sys-path) # Go into the top TeX build directory and make the paper. p=$$(pwd) -- cgit v1.2.1