Skip to content

Commit

Permalink
drop uppercase_
Browse files Browse the repository at this point in the history
  • Loading branch information
aaupov committed Feb 2, 2024
1 parent 56c5dfb commit 9cb38cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/utils/perf-training/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ if(LLVM_BUILD_INSTRUMENTED)
)

add_custom_target(generate-profdata-deps)
string(TOUPPER "${LLVM_BUILD_INSTRUMENTED}" uppercase_LLVM_BUILD_INSTRUMENTED)
if (uppercase_LLVM_BUILD_INSTRUMENTED STREQUAL "CSSPGO")
string(TOUPPER "${LLVM_BUILD_INSTRUMENTED}" LLVM_BUILD_INSTRUMENTED)
if (LLVM_BUILD_INSTRUMENTED STREQUAL "CSSPGO")
set(PROFDATA_SAMPLE "--sample")
if(NOT LLVM_PROFGEN)
find_program(LLVM_PROFGEN llvm-profgen)
Expand Down

0 comments on commit 9cb38cf

Please sign in to comment.