Conversation
|
Hi! This is the staged-recipes linter and your PR looks excellent! 🚀 |
|
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 ( |
|
Windows build can be incorporated in the feedstock after cburstedde/libsc#232 is merged. |
|
@conda-forge/help-c-cpp This is ready for review, thanks! |
|
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/p4est/recipe.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/19015751745. Examine the logs at this URL for more detail. |
|
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 ( |
|
Waiting on conda-forge/jansson-feedstock#17 (comment) for json functionality. |
Is this draft or ready for review? |
|
@traversaro thank you for checking in! I previously used a patch to make |
Thanks for the reply, I removed the |
|
@conda-forge/help-c-cpp this is ready for review now! The json-feature mentioned earlier is minor and not needed. It depends on something upstream which needs some more time.
Thanks for having a look! |
|
So, libsc seems to be indeed packaged under this name in several distro: https://repology.org/project/libsc/versions, and also https://repology.org/project/p4est/versions . |
|
Hi @traversaro, thank you for your review!
This stems from the original # --- generate pkg-config .pc
set(pc_libs_private)
set(pc_req_private "ompi ompi-c orte zlib")
set(pc_req_public "p4est sc")
set(pc_filename p4est-${git_version}.pc)
configure_file(${CMAKE_CURRENT_LIST_DIR}/pkgconf.pc.in ${pc_filename} @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${pc_filename}
DESTINATION lib/pkgconfig)
set(pc_target ${pc_filename})
set(pc_link ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig/p4est.pc)
install(CODE "execute_process( \
COMMAND ${CMAKE_COMMAND} -E create_symlink \
${pc_target} \
${pc_link} \
)"
)where the file with the version is created first and then one without a version is symlinked.
I was referring to the |
Thanks! I think that is ok, as long as we are not interested on Windows (where symlinks are more complicated to handle). |
|
Thanks, the PR is ready for me. Do you want to squash the commits and rebase yourself or I can do that on merge? Thanks! |
|
You can do that with the merge, no objections from me. Thanks for your help! |
* Init commit * 1 * Install into prefix * Mod options * Patch for shared library * Add jansson discovery * Add pkg-config * try windows * disable win * Try also building p4est * correct pin_subpackage * Correct upper bound * Dont build examples for p4est b/c of missing files in tarball * Add make for p4est * Add zlib to p4est * Update * Update * Update libsc * More updates
Checklist
url) rather than a repo (e.g.git_url) is used in your recipe (see here for more details).