aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2021-03-26 18:19:22 +0000
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2021-03-26 18:19:22 +0000
commitac8890dfbf06c8b98a3163f798ad3fe65b193a33 (patch)
tree8070f29a43186ce43cfddebf868b6f158830fa7d /project
parent66453b4003d539f48ce0e2944556398624e64164 (diff)
./project: unused --minmapsize option is removed
Until now, the './project' script included an '--minmapsize' option which is an option to one of the original programs that was used in Maneage (Gnuastro). Such an option doesn't exist in many other programs, so it is not a suitable option for the generic Maneage project (and can just cause confusion). It was also not used in any part of Maneage any more! With this commit, this option is removed from the core Maneage './project' script and if any project uses it, they can implement it in their own branch.
Diffstat (limited to 'project')
-rwxr-xr-xproject6
1 files changed, 0 insertions, 6 deletions
diff --git a/project b/project
index 7fef1fe..1e3aeb4 100755
--- a/project
+++ b/project
@@ -47,7 +47,6 @@ all_highlevel=0
existing_conf=0
highlightnotes=0
scriptname="./project"
-minmapsize=10000000000
@@ -109,7 +108,6 @@ Configure options:
-e, --existing-conf Use (possibly existing) local configuration.
--host-cc Use host system's C compiler, don't build GCC.
-i, --input-dir=STR Directory containing input datasets (optional).
- -m, --minmapsize=INT [Gnuastro] Minimum number of bytes to use RAM.
-s, --software-dir=STR Directory containing necessary software tarballs.
--check-config During configuration, show what is being built.
--clean-texdir Remove possibly existing build-time subdirectories
@@ -186,9 +184,6 @@ do
-i|--input-dir) input_dir="$2"; check_v "$1" "$input_dir"; shift;shift;;
-i=*|--input-dir=*) input_dir="${1#*=}"; check_v "$1" "$input_dir"; shift;;
-i*) input_dir=$(echo "$1" | sed -e's/-i//'); check_v "$1" "$input_dir"; shift;;
- -m|--minmapsize) minmapsize="$2"; check_v "$1" "$minmapsize"; shift;shift;;
- -m=*|--minmapsize=*) minmapsize="${1#*=}"; check_v "$1" "$minmapsize"; shift;;
- -m*) minmapsize=$(echo "$1" | sed -e's/-m//'); check_v "$1" "$minmapsize"; shift;;
-s|--software-dir) software_dir="$2"; check_v "$1" "$software_dir"; shift;shift;;
-s=*|--software-dir=*) software_dir="${1#*=}"; check_v "$1" "$software_dir"; shift;;
-s*) software_dir=$(echo "$1" | sed -e's/-s//'); check_v "$1" "$software_dir"; shift;;
@@ -446,7 +441,6 @@ case $operation in
export build_dir=$build_dir
export input_dir=$input_dir
export scriptname=$scriptname
- export minmapsize=$minmapsize
export software_dir=$software_dir
export existing_conf=$existing_conf
export all_highlevel=$all_highlevel