forked from OSchip/llvm-project
[flang] Add -mp option for pgf90 in the presence of -fopenmp
Original-commit: flang-compiler/f18@a9d7287420 Reviewed-on: https://github.com/flang-compiler/f18/pull/450
This commit is contained in:
parent
f11652a1e6
commit
80ccd20f3b
|
@ -513,6 +513,10 @@ int main(int argc, char *const argv[]) {
|
|||
Fortran::parser::LanguageFeature::BackslashEscapes)) {
|
||||
driver.pgf90Args.push_back("-Mbackslash");
|
||||
}
|
||||
if (options.features.IsEnabled(
|
||||
Fortran::parser::LanguageFeature::OpenMP)) {
|
||||
driver.pgf90Args.push_back("-mp");
|
||||
}
|
||||
|
||||
Fortran::semantics::SemanticsContext semanticsContext{
|
||||
defaultKinds, options.features};
|
||||
|
|
Loading…
Reference in New Issue