Skip to content

Commit

Permalink
s/VERBOSE_CONFIG/FIND_LLVM_VERBOSE_CONFIG
Browse files Browse the repository at this point in the history
  • Loading branch information
goldsborough committed Mar 23, 2017
1 parent ff54c63 commit aea12f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmake/modules/FindLLVM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# The include directory for libc++, if it exists.
################################################################################

option(VERBOSE_CONFIG off)
option(FIND_LLVM_VERBOSE_CONFIG off)

function(set_llvm_variable variable flags)
execute_process(
Expand All @@ -37,7 +37,7 @@ function(set_llvm_variable variable flags)
else()
string(REPLACE "\n" ";" output ${output})
separate_arguments(output)
if (VERBOSE_CONFIG)
if (FIND_LLVM_VERBOSE_CONFIG)
message(STATUS "Found LLVM_${variable}: ${output}")
endif()
set(LLVM_${variable} "${output}" PARENT_SCOPE)
Expand Down
4 changes: 2 additions & 2 deletions docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [[ ! -d /llvm/build ]]; then
fi

# Find out what clang is called on here.
which clang++-3.9 2>/dev/null
which clang++-3.9
if [[ $? -eq 0 ]]; then
export CXX=clang++-3.9
else
Expand Down Expand Up @@ -38,7 +38,7 @@ cmake -DLLVM_PATH=/llvm \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=$C \
-DCMAKE_CXX_COMPILER=$CXX \
-DVERBOSE_CONFIG=on \
-DFIND_LLVM_VERBOSE_CONFIG=on \
-DCLANG_EXPAND_OS_NAME=$1 \
/home/project
make -j4
Expand Down

0 comments on commit aea12f3

Please sign in to comment.