[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)

2024-04-05 Thread Mats Petersson via cfe-commits
https://github.com/Leporacanthicus closed https://github.com/llvm/llvm-project/pull/86816 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)

2024-04-05 Thread Tom Eccles via cfe-commits
https://github.com/tblah approved this pull request. Thanks! LGTM https://github.com/llvm/llvm-project/pull/86816 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)

2024-03-28 Thread Tom Eccles via cfe-commits
@@ -764,6 +762,32 @@ void Flang::ConstructJob(Compilation , const JobAction , // Add other compile options addOtherOptions(Args, CmdArgs); + // Forward flags for OpenMP. We don't do this if the current action is an + // device offloading action other than OpenMP. + if

[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)

2024-03-27 Thread Mats Petersson via cfe-commits
https://github.com/Leporacanthicus updated https://github.com/llvm/llvm-project/pull/86816 >From 372995f4e755e3c0bc4a0b5dd09e27c21a3faf2e Mon Sep 17 00:00:00 2001 From: Mats Petersson Date: Fri, 15 Mar 2024 17:38:52 + Subject: [PATCH 1/2] [FLANG] allow -fopenmp= This enables the -fopenmp=

[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)

2024-03-27 Thread Mats Petersson via cfe-commits
@@ -764,6 +762,32 @@ void Flang::ConstructJob(Compilation , const JobAction , // Add other compile options addOtherOptions(Args, CmdArgs); + // Forward flags for OpenMP. We don't do this if the current action is an + // device offloading action other than OpenMP. + if

[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)

2024-03-27 Thread Tom Eccles via cfe-commits
@@ -764,6 +762,32 @@ void Flang::ConstructJob(Compilation , const JobAction , // Add other compile options addOtherOptions(Args, CmdArgs); + // Forward flags for OpenMP. We don't do this if the current action is an + // device offloading action other than OpenMP. + if

[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)

2024-03-27 Thread Tom Eccles via cfe-commits
@@ -764,6 +762,32 @@ void Flang::ConstructJob(Compilation , const JobAction , // Add other compile options addOtherOptions(Args, CmdArgs); + // Forward flags for OpenMP. We don't do this if the current action is an + // device offloading action other than OpenMP. + if

[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)

2024-03-27 Thread Mats Petersson via cfe-commits
@@ -764,6 +762,32 @@ void Flang::ConstructJob(Compilation , const JobAction , // Add other compile options addOtherOptions(Args, CmdArgs); + // Forward flags for OpenMP. We don't do this if the current action is an + // device offloading action other than OpenMP. + if

[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)

2024-03-27 Thread Mats Petersson via cfe-commits
@@ -764,6 +762,32 @@ void Flang::ConstructJob(Compilation , const JobAction , // Add other compile options addOtherOptions(Args, CmdArgs); + // Forward flags for OpenMP. We don't do this if the current action is an + // device offloading action other than OpenMP. + if

[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)

2024-03-27 Thread Mats Petersson via cfe-commits
@@ -764,6 +762,32 @@ void Flang::ConstructJob(Compilation , const JobAction , // Add other compile options addOtherOptions(Args, CmdArgs); + // Forward flags for OpenMP. We don't do this if the current action is an + // device offloading action other than OpenMP. + if

[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)

2024-03-27 Thread Tom Eccles via cfe-commits
@@ -764,6 +762,32 @@ void Flang::ConstructJob(Compilation , const JobAction , // Add other compile options addOtherOptions(Args, CmdArgs); + // Forward flags for OpenMP. We don't do this if the current action is an + // device offloading action other than OpenMP. + if

[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)

2024-03-27 Thread Tom Eccles via cfe-commits
@@ -764,6 +762,32 @@ void Flang::ConstructJob(Compilation , const JobAction , // Add other compile options addOtherOptions(Args, CmdArgs); + // Forward flags for OpenMP. We don't do this if the current action is an + // device offloading action other than OpenMP. + if

[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)

2024-03-27 Thread Tom Eccles via cfe-commits
@@ -764,6 +762,32 @@ void Flang::ConstructJob(Compilation , const JobAction , // Add other compile options addOtherOptions(Args, CmdArgs); + // Forward flags for OpenMP. We don't do this if the current action is an + // device offloading action other than OpenMP. + if

[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)

2024-03-27 Thread Tom Eccles via cfe-commits
@@ -764,6 +762,32 @@ void Flang::ConstructJob(Compilation , const JobAction , // Add other compile options addOtherOptions(Args, CmdArgs); + // Forward flags for OpenMP. We don't do this if the current action is an + // device offloading action other than OpenMP. + if

[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)

2024-03-27 Thread Tom Eccles via cfe-commits
@@ -764,6 +762,32 @@ void Flang::ConstructJob(Compilation , const JobAction , // Add other compile options addOtherOptions(Args, CmdArgs); + // Forward flags for OpenMP. We don't do this if the current action is an + // device offloading action other than OpenMP. + if

[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)

2024-03-27 Thread via cfe-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff 5e688f0dbdaaf8ef06c1affa90db985acf401237 372995f4e755e3c0bc4a0b5dd09e27c21a3faf2e --

[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)

2024-03-27 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-flang-driver Author: Mats Petersson (Leporacanthicus) Changes This enables the -fopenmp=library option to the set of options supported by flang. The generated arguments for the FC1 compilation will appear in a slightly different order, so one test

[clang] [flang] [FLANG] allow -fopenmp= (PR #86816)

2024-03-27 Thread Mats Petersson via cfe-commits
https://github.com/Leporacanthicus created https://github.com/llvm/llvm-project/pull/86816 This enables the -fopenmp= option to the set of options supported by flang. The generated arguments for the FC1 compilation will appear in a slightly different order, so one test had to be updated to