From: Giacomo Travaglini Date: Mon, 30 Mar 2020 09:00:12 +0000 (+0100) Subject: util: Remove dependency check X-Git-Tag: v20.1.0.0~304 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e78402cc7b7740681723636b67723c09cc50a5e;p=gem5.git util: Remove dependency check The list is rather old and it contains some entries which are likely unneeded. Since we are also now able to select specific FS binaries to be compiled individually, there is not point of requiring all components to be installed. Instead, if is better to rely on the error message of building process and let the users figure out which packages they need to install Change-Id: I16c74861cb1f2b09c3e91e408ace01a9bd7a234d Signed-off-by: Giacomo Travaglini Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32556 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- diff --git a/util/gen_arm_fs_files.py b/util/gen_arm_fs_files.py index 2f339a299..986dda424 100755 --- a/util/gen_arm_fs_files.py +++ b/util/gen_arm_fs_files.py @@ -292,30 +292,6 @@ if os.path.exists(revisions_dir): print "Error: %s already exists." %revisions_dir sys.exit(1) -# Some basic dependency checking -needed_programs = [ - "make", - "aarch64-linux-gnu-gcc", - "arm-linux-gnueabihf-gcc", - "aarch64-linux-gnu-gcc-4.8", - "arm-linux-gnueabihf-gcc-4.8", - "gcc", - "bc", - "dtc", - "arm-linux-gnueabi-gcc" -] - -for program in needed_programs: - if not spawn.find_executable(program): - print "Error: command %s not found in $PATH" % program - print ("If running on an Debian-based linux, please try the following " - "cmd to get all the necessary packages: ") - print ("sudo apt-get install -y make gcc bc gcc-aarch64-linux-gnu " - "gcc-4.8-aarch64-linux-gnu gcc-4.8-arm-linux-gnueabihf " - "gcc-arm-linux-gnueabihf device-tree-compiler " - "gcc-arm-linux-gnueabi") - sys.exit(1) - os.mkdir(binaries_dir); os.mkdir(revisions_dir);