[flang-commits] [flang] 498041d - [Flang][Driver][OpenMP] Fix omp-frontend-forwarding.f90 failure on windows

Andrew Gozillon via flang-commits flang-commits at lists.llvm.org
Wed Mar 29 10:54:52 PDT 2023


Author: Andrew Gozillon
Date: 2023-03-29T12:54:38-05:00
New Revision: 498041da4e7b781d57a6761f345721792ad7079d

URL: https://github.com/llvm/llvm-project/commit/498041da4e7b781d57a6761f345721792ad7079d
DIFF: https://github.com/llvm/llvm-project/commit/498041da4e7b781d57a6761f345721792ad7079d.diff

LOG: [Flang][Driver][OpenMP] Fix omp-frontend-forwarding.f90 failure on windows

Failing due to forgetting the .exe suffix the clang-offload-packager
receives on windows.

Added: 
    

Modified: 
    flang/test/Driver/omp-frontend-forwarding.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Driver/omp-frontend-forwarding.f90 b/flang/test/Driver/omp-frontend-forwarding.f90
index 063e20b1bee3c..d10fd9fa4df6d 100644
--- a/flang/test/Driver/omp-frontend-forwarding.f90
+++ b/flang/test/Driver/omp-frontend-forwarding.f90
@@ -18,5 +18,5 @@
 ! RUN:   | FileCheck %s --check-prefixes=CHECK-OPENMP-EMBED
 ! CHECK-OPENMP-EMBED: "{{[^"]*}}flang-new" "-fc1" "-triple" "aarch64-unknown-linux-gnu" {{.*}} "-fopenmp" {{.*}}.f90"
 ! CHECK-OPENMP-EMBED-NEXT: "{{[^"]*}}flang-new" "-fc1" "-triple" "amdgcn-amd-amdhsa" {{.*}} "-fopenmp" {{.*}} "-fopenmp-is-device" {{.*}}.f90"
-! CHECK-OPENMP-EMBED: "{{[^"]*}}clang-offload-packager" {{.*}} "--image=file={{.*}}.bc,triple=amdgcn-amd-amdhsa,arch=gfx90a,kind=openmp"
+! CHECK-OPENMP-EMBED: "{{[^"]*}}clang-offload-packager{{.*}} "--image=file={{.*}}.bc,triple=amdgcn-amd-amdhsa,arch=gfx90a,kind=openmp"
 ! CHECK-OPENMP-EMBED-NEXT: "{{[^"]*}}flang-new" "-fc1" "-triple" "aarch64-unknown-linux-gnu" {{.*}} "-fopenmp" {{.*}} "-fembed-offload-object={{.*}}.out" {{.*}}.bc"


        


More information about the flang-commits mailing list