[Openmp-commits] [openmp] 6b0db92 - [Libomptarget] Fix LTO command line in test

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Wed Jul 20 07:19:08 PDT 2022


Author: Joseph Huber
Date: 2022-07-20T10:18:55-04:00
New Revision: 6b0db92bbd507a9aeb05728ef24cdd992b648cc0

URL: https://github.com/llvm/llvm-project/commit/6b0db92bbd507a9aeb05728ef24cdd992b648cc0
DIFF: https://github.com/llvm/llvm-project/commit/6b0db92bbd507a9aeb05728ef24cdd992b648cc0.diff

LOG: [Libomptarget] Fix LTO command line in test

Summary:
The test passed -offload-lto instead of -foffload-lto.

Added: 
    

Modified: 
    openmp/libomptarget/test/lit.cfg

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/test/lit.cfg b/openmp/libomptarget/test/lit.cfg
index 1b4aff47d762f..e1d8e79de2954 100644
--- a/openmp/libomptarget/test/lit.cfg
+++ b/openmp/libomptarget/test/lit.cfg
@@ -107,7 +107,7 @@ else: # Unices
     if config.libomptarget_current_target.endswith('-oldDriver'):
         config.test_flags += " -fno-openmp-new-driver"
     if config.libomptarget_current_target.endswith('-LTO'):
-        config.test_flags += " -offload-lto"
+        config.test_flags += " -foffload-lto"
 
 def remove_suffix_if_present(name):
     if name.endswith('-oldDriver'):


        


More information about the Openmp-commits mailing list