Discussion thread: https://lists.llvm.org/pipermail/llvm-dev/2021-January/148048.html Move debuginfo-test into a subdirectory of a new top-level directory, called cross-project-tests. The new name replaces "debuginfo-test" as an LLVM project enabled via LLVM_ENABLE_PROJECTS. Differential Revision: https://reviews.llvm.org/D95339 Reviewed by: aprantl
18 lines
361 B
Batchfile
18 lines
361 B
Batchfile
@setlocal EnableDelayedExpansion
|
|
|
|
for %%I in (%SOURCE_INDEXES%) do (
|
|
%PATHTOCLANGPP% -fuse-ld=lld -c !COMPILER_OPTIONS_%%I! !SOURCE_FILE_%%I! -o !OBJECT_FILE_%%I!
|
|
if errorlevel 1 goto :FAIL
|
|
)
|
|
|
|
%PATHTOCLANGPP% -fuse-ld=lld %LINKER_OPTIONS% %OBJECT_FILES% -o %EXECUTABLE_FILE%
|
|
if errorlevel 1 goto :FAIL
|
|
goto :END
|
|
|
|
:FAIL
|
|
echo FAILED
|
|
exit /B 1
|
|
|
|
:END
|
|
exit /B 0
|