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 <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32556 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user