Closed Tobias-Fischer closed 3 years ago
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 (recipe
) and found it was in an excellent condition.
@conda-forge-admin, please rerender
This PR is ready to be merged @conda-forge/vtk
The main change is adding this to the conda_build_config:
- tag: 'CMake build metadata OSX'
glob_patterns:
- '*.cmake'
regex_re: '([^;\s"]+/MacOSX\d*\.?\d*\.sdk)'
replacement_re: '$ENV{CONDA_BUILD_SYSROOT}'
There is already a similar patch in place for Linux:
- tag: 'CMake build metadata'
glob_patterns:
- '*.cmake'
regex_re: '([^;\s"]+/sysroot)'
replacement_re: '$ENV{CONDA_BUILD_SYSROOT}'
I have locally tested building PCL after applying this PR, and it solves the current problem.
Ping @conda-forge/vtk - it would be great if someone could have a look at this PR :)
I am not familiar with those type of regex replacements in recipes, but the addition seems consistent with the existing Linux case and it seems you have already verified that it works, so I will go ahead and merge
Thanks @grlee77
Checklist
0
(if the version changed)conda-smithy
(Use the phrase code>@<space/conda-forge-admin, please rerender in a comment in this PR for automated rerendering)Currently downstream packages fail to link to vtk::opengl, as can be seen in https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=311003&view=logs&jobId=58ac6aab-c4bc-5de2-2894-98e408cc8ec9&j=58ac6aab-c4bc-5de2-2894-98e408cc8ec9&t=933f325c-924e-533d-4d95-e93b5843ce8b
This PR includes a patch (kudos to @traversaro) to remove OPENGL_INCLUDE_DIR from the exported include directories, as it is not relocatable. I have tested it locally and it solves the compile issues with PCL on OSX.