-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Update recipe (build and testing) #40
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
d944d3c
to
35bd244
Compare
@ax3l Here you have. I'm removing some legacy workarounds in this PR. The aarch64 tests fail badly because installing the |
Sounds good to me. Looks like the same error we see downstream is now triggered here as well. |
@minrk I think the linux failures are a problem in Look at the Azure build log for linux-64 , you will see this line:
So conda-build should add a runtime dependency to But then, at the test stage, when the package is installed in the test env, we get:
so this means that I can reproduce a similar issue locally (using plain conda-build in my terminal, no docker). However, the missing dependency is |
@dalcinl you're right, that's conda/conda-build#3583 it's being worked on right now. We should hold off any aarch64 builds until that gets fixed. |
* Do not remove --as-needed from LDFLAGS * Add mpiexec.sh wrapper to workaround O_NONBLOCK issues * Add test for mpiexec with shell script * Add test for mpifort compiler wrapper
#!/bin/bash | ||
set -euo pipefail | ||
# pipe stdout, stderr through cat to avoid O_NONBLOCK issues | ||
exec mpiexec "$@" 2>&1</dev/null | cat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the future, I think we can remove this. It's supposedly been fixed in mpich 3.2.1, but no harm keeping it for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. After this PR is merged, we have to update to mpich 3.3.1, I was planning to do it by then.
Or do you prefer to jump now to 3.3.1 and forget about getting fresh builds for 3.2.1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the openmpi recipe, we still need the script to pass the --allow-run-as-root
. Maybe it is a good idea to keep the mpiexex script in mpich as well, as a future last resort in case we are in need of similar tweaks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. No real difference between the script and the function that was here before. Still some arguments to consolidate. Without redirecting, an alias in run_test.sh
ought to be enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
However, the use the function that was here before was broken, better to use a script in which we can control bash options. See this log https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=45392 and look for ./helloworld_c: error while loading shared libraries: libgfortran.so.4: cannot open shared object file: No such file or directory
. So eventually the PR was merged but the package was broken.
I'm happy with this, but I'd like to wait to merge until the conda-build issues get squared away, since this shouldn't be affecting the outputs I'm not pressured to get it done quickly. It looks like the older conda-build after the latest builds were marked as broken also has an issue with aarch64, so we probably just need to wait for a fixed conda-build 3.18 |
@conda-forge-admin, please rerender (so we get the fixed conda-build 3.18.7 with conda/conda-build#3596 ) |
…da-forge-pinning 2019.07.04
Hi! This is the friendly automated conda-forge-webservice. I tried to re-render for you, but it looks like there was nothing to do. |
1 similar comment
Hi! This is the friendly automated conda-forge-webservice. I tried to re-render for you, but it looks like there was nothing to do. |
sorry, still too old in the bot |
Restarted aarch since the fixed image was pushed today (independent of rerender, I think) |
All working again |
Checklist
conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)