Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Avoid perl path from build machine appearing in wheel / binary distributions #800

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

pramodk
Copy link
Collaborator

@pramodk pramodk commented Apr 13, 2022

In case of wheel, neuron wrapper scripts will set CORENRN_PERLEXE variable pointing to perl binary
to use. Prefer that over PERL_EXECUTABLE found by CMake

Fixes #799

CI_BRANCHES:NEURON_BRANCH=master,NMODL_BRANCH=master,SPACK_BRANCH=develop

@olupton
Copy link
Contributor

olupton commented Apr 13, 2022

It is expected that the GPU build with OpenMP (and NMODL) fails now that the tests use a non-default random seed. This is [probably] because there is a missing device update of g_k that is only fixed in #797.

@olupton olupton force-pushed the pramodk/global-seed branch 3 times, most recently from 37f1e94 to bded03f Compare April 14, 2022 06:49
Copy link
Contributor

@olupton olupton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

…butions

* In case of wheel, neuron wrapper scripts will set
   `CORENRN_PERLEXE` variable pointing to perl binary
   to use. Prefer that over `PERL_EXECUTABLE` found by
   CMake
* Fixes #799
pramodk added a commit to neuronsimulator/nrn that referenced this pull request Apr 20, 2022
* Fix typo: CORENRN_PERLNEXE -> CORENRN_PERLEXE
  - See https://github.com/BlueBrain/CoreNeuron/blob/49bd200e34d6f66780483765ba985ce65534beda/extra/nrnivmodl_core_makefile.in#L84
* Update coreneuron for MacOS wheel fix
  - See BlueBrain/CoreNeuron/pull/800
* Update testcorenrn repository
  - See neuronsimulator/testcorenrn#11
  - Setting different global seed in order to improve coverage
@pramodk
Copy link
Collaborator Author

pramodk commented Apr 20, 2022

CI is failing with irrelevant gitlab errors. Upstream NEURON wheel is now working as expected. So will merge this.

@pramodk pramodk merged commit 36a6277 into master Apr 20, 2022
@pramodk pramodk deleted the pramodk/global-seed branch April 20, 2022 23:45
olupton added a commit to neuronsimulator/nrn that referenced this pull request Apr 21, 2022
* Fix typo: CORENRN_PERLNEXE -> CORENRN_PERLEXE
  - Should match nrnivmodl_core_makefile.in in CoreNEURON.
* Bump CoreNEURON submodule past BlueBrain/CoreNeuron#800.
* Bump testcorenrn "submodule" past testcorenrn#11.
  - Setting different global seed in order to improve coverage

Co-authored-by: Olli Lupton <[email protected]>
pramodk added a commit to neuronsimulator/nrn that referenced this pull request Nov 2, 2022
…butions (BlueBrain/CoreNeuron#800)

In case of wheel, neuron wrapper scripts will set `CORENRN_PERLEXE` variable
pointing to perl binary to use. Prefer that over `PERL_EXECUTABLE` found by CMake

Fixes BlueBrain/CoreNeuron#799

CoreNEURON Repo SHA: BlueBrain/CoreNeuron@36a6277
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wheel on macOS doesn't work: perl binary path is hardcoded
4 participants