Skip to content

Commit

Permalink
[gn] port 088aa81 (LLVM_HAS_LOGF128)
Browse files Browse the repository at this point in the history
If we want to turn this on on some platforms, we'll also want to
define HAS_LOGF128 for AnalysisTest, see
llvm/unittests/Analysis/CMakeLists.txt
  • Loading branch information
nico committed May 1, 2024
1 parent 57d0d3b commit 68b863b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ write_cmake_config("llvm-config") {
"LLVM_ENABLE_ZSTD=",
"LLVM_FORCE_USE_OLD_TOOLCHAIN=",
"LLVM_HAS_ATOMICS=1",
"LLVM_HAS_LOGF128=",
"LLVM_HAVE_TFLITE=",
"LLVM_HOST_TRIPLE=$llvm_current_triple",
"LLVM_NATIVE_ARCH=$native_target",
Expand Down
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/llvm/test/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ write_lit_config("lit_site_cfg") {
"LLVM_ENABLE_HTTPLIB=0",
"LLVM_ENABLE_ZSTD=0",
"LLVM_FORCE_VC_REVISION=",
"LLVM_HAS_LOGF128=0",
"LLVM_HAVE_OPT_VIEWER_MODULES=0",
"LLVM_HOST_TRIPLE=$llvm_current_triple",
"LLVM_INCLUDE_DXIL_TESTS=0",
Expand Down

0 comments on commit 68b863b

Please sign in to comment.