Skip to content

Commit

Permalink
Fix the bug with empty target triples
Browse files Browse the repository at this point in the history
  • Loading branch information
PetroZarytskyi authored and vgvassilev committed Mar 5, 2024
1 parent 20826a3 commit 81f2e4f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/lit.site.cfg.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ 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 = "@LLVM_TARGET_TRIPLE@" if llvm_version_major > 11 else "@TARGET_TRIPLE@"
config.target_triple = "@LLVM_TARGET_TRIPLE@"
if config.target_triple == "" :
config.target_triple = "@TARGET_TRIPLE@"
config.shlibext = "@TARGET_SHLIBEXT@"
config.have_enzyme = "@CLAD_ENABLE_ENZYME_BACKEND@"

Expand Down

0 comments on commit 81f2e4f

Please sign in to comment.