Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CMake v3.20+; fix for nmodl-as-a-submodule #660

Merged
merged 1 commit into from
May 20, 2021

Conversation

olupton
Copy link
Contributor

@olupton olupton commented May 20, 2021

In CMake v3.20+ then the NVHPC compilers are identified as NVHPC, not PGI (see also: neuronsimulator/nrn#1266 and BlueBrain/CoreNeuron#543).

Also make sure that NMODL sources its own CompilerHelper.cmake, previously in the case that NMODL is built as a submodule of CoreNEURON and CoreNEURON is built as a submodule of NEURON then NMODL would source the CompilerHelper.cmake from NEURON.

In CMake v3.20+ then the NVHPC compilers are identified as NVHPC, not
PGI. Also make sure that NMODL sources its own CompilerHelper.cmake,
previously in the case that NMODL is built as a submodule of CoreNEURON
and CoreNEURON is built as a submodule of NEURON then NMODL would source
the CompilerHelper.cmake from NEURON.
@pramodk pramodk merged commit 2586c2e into master May 20, 2021
@pramodk pramodk deleted the olupton/cmake-bugfixes branch May 20, 2021 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants