unstick r375480

Revision 375480

Date:
2019/10/22 04:44:01
Author:
ddcc
Revision Log:
[SPECCPU2017] Check for 'all' input data directory before generating command

Summary: As of SPEC CPU2017 1.0.5, 526.blender_r/data does not contain an 'all' subdirectory, which breaks the build.

Reviewers: Meinersbur, MatzeB

Subscribers: mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68967
Files:

Legend:

 
Added
 
Removed
 
Modified
  • test-suite/trunk/External/SPEC/SpecCPU2017.cmake

     
    344 344 # file as an absolute path to the rundir.
    345 345 macro(speccpu2017_prepare_rundir)
    346 346 foreach (_runtype IN LISTS TEST_SUITE_RUN_TYPE)
    347 llvm_copy_dir(${PROG} "${RUN_${_runtype}_DIR}" "${INPUT_all_DIR}")
    347 if (EXISTS "${INPUT_all_DIR}")
    348 llvm_copy_dir(${PROG} "${RUN_${_runtype}_DIR}" "${INPUT_all_DIR}")
    349 endif ()
    348 350 llvm_copy_dir(${PROG} "${RUN_${_runtype}_DIR}" "${INPUT_${_runtype}_DIR}")
    349 351 endforeach ()
    350 352 endmacro()