Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Abdul Wadood <abdulwadood.afzal88@gmail.com>
  • Loading branch information
Abdulwadoodd committed Feb 20, 2024
1 parent 41e1a62 commit 2a4da07
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions ci-tests/riscof/sail_cSim/riscof_sail_cSim.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,20 @@ def build(self, isa_yaml, platform_yaml):
self.isa += 'f'
if "D" in ispec["ISA"]:
self.isa += 'd'
objdump = "riscv64-unknown-elf-objdump"
if shutil.which(objdump) is None:
logger.error(objdump+": executable not found. Please check environment setup.")
raise SystemExit(1)
compiler = "riscv64-unknown-elf-gcc"
if shutil.which(compiler) is None:
logger.error(compiler+": executable not found. Please check environment setup.")
raise SystemExit(1)
if shutil.which(self.sail_exe[self.xlen]) is None:
logger.error(self.sail_exe[self.xlen]+ ": executable not found. Please check environment setup.")
raise SystemExit(1)
if shutil.which(self.make) is None:
logger.error(self.make+": executable not found. Please check environment setup.")
raise SystemExit(1)
# objdump = "riscv64-unknown-elf-objdump"
# if shutil.which(objdump) is None:
# logger.error(objdump+": executable not found. Please check environment setup.")
# raise SystemExit(1)
# compiler = "riscv64-unknown-elf-gcc"
# if shutil.which(compiler) is None:
# logger.error(compiler+": executable not found. Please check environment setup.")
# raise SystemExit(1)
# if shutil.which(self.sail_exe[self.xlen]) is None:
# logger.error(self.sail_exe[self.xlen]+ ": executable not found. Please check environment setup.")
# raise SystemExit(1)
# if shutil.which(self.make) is None:
# logger.error(self.make+": executable not found. Please check environment setup.")
# raise SystemExit(1)

def runTests(self, testList, cgf_file=None):
if os.path.exists(self.work_dir+ "/Makefile." + self.name[:-1]):
Expand Down

0 comments on commit 2a4da07

Please # to comment.