lz4: fix bug on darwin, use makefile by default#36820
Conversation
Bug was introduced in spack#35101
|
Hi @alalazo! I noticed that the following package(s) don't yet have maintainers:
Are you interested in adopting any of these package(s)? If so, simply add the following to the package class: maintainers("alalazo")If not, could you contact the developers of this package and see if they are interested? You can quickly see who has worked on a package with $ spack blame lz4Thank you for your help! Please don't add maintainers without their consent. You don't have to be a Spack expert or package developer in order to be a "maintainer," it just gives us a list of users willing to review PRs or debug issues relating to this package. A package can have multiple maintainers; just add a list of GitHub handles of anyone who wants to volunteer. |
|
@alalazo shouldn't the With the mods of this PR, if I do : I get a function I get : |
|
Hm, I thought cmake was supposed to generate shared libraries with |
|
This policy should make cmake add |
|
@aphecetche can you try with |
|
for the cmake version dependency, where should it be put with a new multiple build package.py ? (I'm still trying to adapt my mind to it ;-) ) within the CMakeBuilder part ? |
|
the previous comment was to update the seems to lead to a correct RPATH'ed library indeed (no new to specify the policy) |
No, the metadata (i.e. all the directives) goes into the with when("build_system=cmake"):
depends_on("cmake@3:", type="build") |
|
Hm, confusing. I don't understand why it didn't work before with build_system=cmake then? |
|
I checked, and setting that policy to ON seems necessary. |
Co-authored-by: Harmen Stoppels <[email protected]>
|
Don't know what I did exactly, might have been caught by some cache. Sorry about that. If I redo it "from scratch" there is indeed a warning about the issue : so no, the PR is not ok as is I would say. |
|
Let's just add the policy define, in the meantime I've opened a pr upstream: lz4/lz4#1228 |
|
Policy was added before the comments... or am I missing something? |
No, I don't think you're missing something, but I did miss the "New changes since you last viewed" from GitHub UI 😉 hence my comment after your commit. |
|
@spackbot run pipeline |
|
I've started that pipeline for you! |
Co-authored-by: Harmen Stoppels <[email protected]>
Co-authored-by: Harmen Stoppels <[email protected]>
lz4: fix bug on darwin, use makefile by default (spack#36820)
Bug was introduced in #35101
Modifications:
run_aftermethod to the appropriate buildermakefilethe default build system (10 sec. vs. waiting for CMake on Linux)