[PATCH] D68967: [SPECCPU2017] Check for 'all' input data directory before generating command

Dominic Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 22:14:08 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rT375480: [SPECCPU2017] Check for 'all' input data directory before generating command (authored by ddcc, committed by ).

Repository:
  rT test-suite

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68967/new/

https://reviews.llvm.org/D68967

Files:
  External/SPEC/SpecCPU2017.cmake


Index: External/SPEC/SpecCPU2017.cmake
===================================================================
--- External/SPEC/SpecCPU2017.cmake
+++ External/SPEC/SpecCPU2017.cmake
@@ -344,7 +344,9 @@
 # file as an absolute path to the rundir.
 macro(speccpu2017_prepare_rundir)
   foreach (_runtype IN LISTS TEST_SUITE_RUN_TYPE)
-    llvm_copy_dir(${PROG} "${RUN_${_runtype}_DIR}" "${INPUT_all_DIR}")
+    if (EXISTS "${INPUT_all_DIR}")
+      llvm_copy_dir(${PROG} "${RUN_${_runtype}_DIR}" "${INPUT_all_DIR}")
+    endif ()
     llvm_copy_dir(${PROG} "${RUN_${_runtype}_DIR}" "${INPUT_${_runtype}_DIR}")
   endforeach ()
 endmacro()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68967.225996.patch
Type: text/x-patch
Size: 633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191022/35708e71/attachment.bin>


More information about the llvm-commits mailing list