Skip to content

Commit

Permalink
Properly discover the target triple. (vgvassilev#677)
Browse files Browse the repository at this point in the history
This patch helps enabling the osx target's SDKROOT.
  • Loading branch information
vgvassilev authored Dec 8, 2023
1 parent 75b30eb commit ec5ea41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/lit.site.cfg.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ import sys

## Autogenerated by LLVM/clad configuration.
# Do not edit!
llvm_version_major = @LLVM_VERSION_MAJOR@
config.llvm_src_root = "@LLVM_SOURCE_DIR@"
config.llvm_obj_root = "@LLVM_BINARY_DIR@"
config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
config.llvm_libs_dir = "@LLVM_LIBS_DIR@"
config.llvm_lib_output_intdir = "@LLVM_LIBRARY_OUTPUT_INTDIR@"
config.clad_obj_root = "@CLAD_BINARY_DIR@"
config.target_triple = "@TARGET_TRIPLE@"
config.target_triple = "@LLVM_TARGET_TRIPLE@" if llvm_version_major > 11 else "@TARGET_TRIPLE@"
config.shlibext = "@TARGET_SHLIBEXT@"
config.have_enzyme = "@CLAD_ENABLE_ENZYME_BACKEND@"

Expand Down

0 comments on commit ec5ea41

Please sign in to comment.