-
Notifications
You must be signed in to change notification settings - Fork 12
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
Superbuild cmake not passing tinyxml variables correctly #812
Comments
Hi @c-denham - please let me know:
We can perhaps debug interactively on teams. Friday would suit me as I've lots of marking right now - please suggest a few times by email. |
I copied below the 3 points, I included the entire history of my archer2 terminal in case there is something important
|
Have confirmed that the problem is that the super build cmake is not correctly passing the TinyXML variables to the Code cmake when it is building tinyxml from source. I'd consider this a low priority bug for now. The work around is to first install the dependences and then to install the code separately. If you're going to have multiple installs of HemeLB for e.g. different boundary conditions, then I'd recommend using different directories. E.g. on Archer2 if deps_prefix=$WORK/hemelb/dependencies
cmake -S hemelb/dependencies -B build-deps -DCMAKE_INSTALL_PREFIX=$deps_prefix -DHEMELB_BUILD_RBC=ON
pushd build-deps
make -j
popd
version=whatever!
code_prefix=$WORK/hemelb/$version
cmake -S hemelb/Code -B build-code-$version -DCMAKE_INSTALL_PREFIX=$code_prefix -DHEMELB_DEPENDENCIES_INSTALL_PREFIX=$deps_prefix -DHEMELB_BUILD_RBC=ON -DCMAKE_BUILD_TYPE=Release
pushd build-code-$version
make -j install |
@rupertnash I think I need to edit the command that starts |
Aye I think so |
Hello,
I am trying to build hemelb on ARCHER2 and I am following the advice from issue #770 however some of this is out of date. I have changed Boost to 1.81.0 but I do not know if any of the others are out of date. I am following the superbuild method. TinyXML cannot be found.
Many thanks for your advice in advance.
The text was updated successfully, but these errors were encountered: