-
Notifications
You must be signed in to change notification settings - Fork 126
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
macOS Cross-Compile release_29
: ffs::ffs
missing in adios2-config.cmake
#3716
Comments
release_29
: ffs::ffs
missing in adios2-config.cmake
@ax3l thanks for reporting. Can i get the full configure/build output. |
@vicentebolea Build is for:
Complete logs are: macos-xcompile.zip |
I see is it possible to configure openpmd with |
Thanks, ok let me see how I can pipe that eloquently through cibuildwheels through pip through setup.py back into CMake 😅 |
@vicentebolea ok, got it here: And
|
Side question: FFS is a mandatory ADIOS2 dependency or can it be disabled? (I did not find an option for it.) |
The options to disable it are indirect. It is required both for SST and for BP5. If you disable both of those FFS will not be built. (But BP5 is now the default file format. If you disable it there are some tests that won't pass, functionality will be lost, etc.) |
Thanks Greg, yes that makes sense then to not ship without it. @eisenhauer @vicentebolea does the detailed CMake traceback above provide you with the info we need? |
I have found the culprit but not the reason of this happening. Looking at the trace,
Here is the source file of adios2-config.cmake:
It is located at cmake/adios2-config-install.cmake.in. we need Note that this is only happening with static build |
@ax3l can you also run the --trace-expand for the configuration of Adios2, this might bring some light on why this is happening |
@vicentebolea no problem, here is the log output, including |
@vicentebolea I think the part this script above is not expecting is in if(NOT @BUILD_SHARED_LIBS@) I do build all-static for wheels, so the most outer if(NOT FALSE) |
@vicentebolea is the |
The issue happens because EVPATH dependency gets properly exported when using SST, however, even without SST we use ffs which gets exposed through EVPATH. @ax3l the workaround should be to enable SST or disable BP5. Things to do:
|
I believe that this has been resolved in #3760 |
Closing this since we cannot reproduce this anymore. Please re-open if you observe this again |
I am trying to build
release_29
due to the many patches that are needed to get our all-static dependency wheels to build.I am currently blocked by:
openPMD/openPMD-api#1387
when cross-compiling for macOS arm64 (from x86).
cc @vicentebolea @eisenhauer
Note that ADIOS2 itself builds & installs fine, it is the installed
adios2-config.cmake
package that seems to forget to define one of the used targets.The text was updated successfully, but these errors were encountered: