summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheng Shao <astrohavoc@gmail.com>2022-08-26 08:05:37 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-08-26 15:06:40 -0400
commit1007829bfb18708dda77b4eb6106fce9cb05f908 (patch)
tree0f72b647ad209e4582f374a0b4881ba43e53d5a0
parentf5e0f086a43c4e830f3fec343917daf3cc24b73a (diff)
downloadhaskell-1007829bfb18708dda77b4eb6106fce9cb05f908.tar.gz
boot: cleanup legacy args
Cleanup legacy boot script args, following removal of the legacy make build system.
-rwxr-xr-xboot8
-rwxr-xr-xvalidate2
2 files changed, 1 insertions, 9 deletions
diff --git a/boot b/boot
index 872eeb01f6..bd6a5debb9 100755
--- a/boot
+++ b/boot
@@ -4,19 +4,11 @@ import glob
import os
import os.path
import sys
-import argparse
from textwrap import dedent
import subprocess
import re
import shutil
-cwd = os.getcwd()
-
-parser = argparse.ArgumentParser()
-parser.add_argument('--validate', action='store_true', help='Run in validate mode')
-parser.add_argument('--hadrian', action='store_true', help='Do not assume the make base build system')
-args = parser.parse_args()
-
# Packages whose libraries aren't in the submodule root
EXCEPTIONS = {
'libraries/containers/': 'libraries/containers/containers/'
diff --git a/validate b/validate
index 20611cad03..223a864e76 100755
--- a/validate
+++ b/validate
@@ -259,7 +259,7 @@ if [ $build_only -eq 1 ] ||
if [ $no_clean -eq 0 ]; then
$hadrian clean && rm -rf $hadrian_build_root
- python3 ./boot --validate
+ python3 ./boot
$configure_cmd --enable-tarballs-autodownload $CONFIG_ARGS
fi