aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2018-11-19 17:41:41 +0000
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2018-11-19 19:29:37 +0000
commit63dd3b9936c22270c7f21da8965a01445ade4973 (patch)
treece30b6e1c5a8aa8a2f2fa2075633b461b6ab2b74 /configure
parent9bf8de7155e2a7917c7c972ab332da0c758a0d6d (diff)
Removed GNU Binutils, CMake's built with its own bootstrap
When the C compiler is not GNU GCC, linking with GNU Binutils is going to cause problems. So until the time that we can include GCC into this pipeline, its best to avoid Binutils also. Also, for building CMake, we were relying on an installed CMake, but now, we are using its own `./bootstrap' script, so it can be built even if the host system doesn't have CMake. Also, for TeX Live, we are now setting a custom file as main target to avoid complications with symbolic links as targets in Make. Finally, when the user says they don't want to re-write an existing configuration file, no extra notices will be printed and the configure script will immediately start building programs.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 9 insertions, 5 deletions
diff --git a/configure b/configure
index 5403a77..34323a5 100755
--- a/configure
+++ b/configure
@@ -134,6 +134,7 @@ EOF
# `LOCAL.mk' is the top-most local configuration for the pipeline. If it
# already exists when this script is run, we'll make a copy of it as backup
# (for example the user might have ran `./configure' by mistake).
+printnotice=yes
rewritepconfig=yes
rewritegconfig=yes
if [ -f $pconf ] || [ -f $glconf ]; then
@@ -149,6 +150,7 @@ if [ -f $pconf ] || [ -f $glconf ]; then
# Set `rewriteconfig'.
if [ $userread = "n" ]; then
+ printnotice=no
if [ -f $pconf ]; then rewritepconfig=no; fi
if [ -f $glconf ]; then rewritegconfig=no; fi
fi
@@ -420,7 +422,7 @@ else
export static_build="no"
fi
rm -f $oprog $cprog
-if [ $static_build = "no" ]; then
+if [ $printnotice = yes ] && [ $static_build = "no" ]; then
cat <<EOF
_________________________________________________________________________
!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!!!!!
@@ -453,8 +455,9 @@ fi
# Inform the user that the build process is starting
# -------------------------------------------------
-tsec=10
-cat <<EOF
+if [ $printnotice = yes ]; then
+ tsec=10
+ cat <<EOF
-------------------------
Building dependencies ...
@@ -469,7 +472,8 @@ pipeline. They will be installed in:
$bdir/dependencies/installed
EOF
-sleep $tsec
+ sleep $tsec
+fi
@@ -478,7 +482,7 @@ sleep $tsec
# Build Basic dependencies
# ------------------------
make -f reproduce/src/make/dependencies-basic.mk \
- static_build=$static_build #-j2
+ static_build=$static_build #-j8