mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 08:36:41 +00:00

Re-application of the Dexter builder removal reversed due to continued errors on the green dragon LLDB buildbot: https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/59716/ Cause of the error is unclear, but it looks as though there is some unexpected non-determinism in the test failures. This reverts commit 323270451d8db24f2c816f455b3d8f70f434286d.
17 lines
397 B
Bash
Executable File
17 lines
397 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
if test -z "$PATHTOCLANGPP"; then
|
|
PATHTOCLANGPP=clang++
|
|
fi
|
|
|
|
for INDEX in $SOURCE_INDEXES
|
|
do
|
|
CFLAGS=$(eval echo "\$COMPILER_OPTIONS_$INDEX")
|
|
SRCFILE=$(eval echo "\$SOURCE_FILE_$INDEX")
|
|
OBJFILE=$(eval echo "\$OBJECT_FILE_$INDEX")
|
|
$PATHTOCLANGPP -std=gnu++11 -c $CFLAGS $SRCFILE -o $OBJFILE
|
|
done
|
|
|
|
$PATHTOCLANGPP $LINKER_OPTIONS $OBJECT_FILES -o $EXECUTABLE_FILE
|