Closed tarkpate closed 1 year ago
Since origin/scirun-build-2.10
is a branch, I would instead suggest to do the following:
SET(ospray_GIT_TAG "29a6d246370fd3ec208d3668c84240403ab45ba9") # scirun-build-2.10
That say, different build of scirun will be ensured to build against the same version of ospray. That approach should likely be used for all dependencies.
Also, if possible, I suggest to submit pull request to the upstream ospray project and then backport the corresponding commit into the CIBC-Internal
fork prefixing it with [Backport MR-NNNN]
where NNNN
is the pull request number.
I can make a named tag for our 2.10 version. There was no other activity on those repo copies, so no "danger" in using branches instead of tags. I don't think Ospray wants any of our changes (like deleting all the documentation), why would we send them a PR?
I don't think Ospray wants any of our changes
The following could be done:
Create an issue upstream explaining that having a sub-module to include the documentation leads to additional work when integrating in client project like SCIRun. You could suggest the following:
Submit a pull-request to rename include build_ospray
instead of build_ospray.cmake
as well as using CMAKE_CURRENT_LIST_DIR
instead of CMAKE_CURRENT_SOURCE_DIR
OSPRAY_INSTALL_DEPENDENCIES
should probably be set before including OSPRay
in SCIRun
instead of being hard-coded in the project itself. This will ensure that building against another version of OSPRay
will work as expected.
Instead of modifying OSPRay
to define the project SCIOspray
, it may be worth adding a folder called SCIOspray
in SCIRun
. The idea would be to minimize updates to the dependency and streamline future updates.
Links to git tag from the PR branch for testing purposes. After that PR is merged, I'll revert the git repo back to cibc-internal.
Also, I added a include string statement in Mutex. I was getting errors on both of my machines that it was missing when I tried to build with OSPRay.