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
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
@@ -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
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=
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
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 --
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
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
18 matches
Mail list logo