-
Notifications
You must be signed in to change notification settings - Fork 572
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
Add openfhe-julia #7879
Add openfhe-julia #7879
Conversation
@giordano Have you seen this error from the Windows build before:
When checking out the contents of autogenerated JLL tarballs for OpenFHE_jll (e.g., Do you know what I can to to make the correct OpenFHE libraries available to downstream packages - do I need to modify the OpenFHE |
Hm, looking at the file # Import target "OPENFHEcore" for configuration "Release"
set_property(TARGET OPENFHEcore APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
set_target_properties(OPENFHEcore PROPERTIES
IMPORTED_IMPLIB_RELEASE "${_IMPORT_PREFIX}/lib/libOPENFHEcore.dll.a"
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libOPENFHEcore.dll"
)
list(APPEND _IMPORT_CHECK_TARGETS OPENFHEcore )
list(APPEND _IMPORT_CHECK_FILES_FOR_OPENFHEcore "${_IMPORT_PREFIX}/lib/libOPENFHEcore.dll.a" "${_IMPORT_PREFIX}/lib/libOPENFHEcore.dll" ) Thus it seems clear to me that the To me, this strongly hints at a problem in the CMake files provided by OpenFHE_jll.jl. And indeed, fixing this manually in an interactive session of BB, the openfhe-julia build works. Do you, by any chance, know what could be wrong on the OpenFHE CMake setup side and what to do about it? |
Ah, the BB auditor is at "fault" here:
is there a way I can prevent this? Or should I even prevent this and instead manually modify the |
#7880 attempts to hotfix the underlying reason for the error, let's hold off merging this PR until then. |
@giordano ready to merge now 😊 |
I think you want to follow Yggdrasil/L/libsingular_julia/build_tarballs.jl Lines 39 to 44 in 1210bc5
|
Co-authored-by: Mosè Giordano <[email protected]>
Thanks a lot for the hint (and the suggestion), that is incredibly helpful! |
@giordano Do you have an idea why the binaries generated for, e.g., Julia v1.8 seem to work well (GHA log), while for v1.9 and v1.10 they fail with
(GHA log)? I assume it has to do something with the libjulia_jll dependency, but I don't even know how to start debugging this 😢 |
* Add openfhe-julia * Rename dir to match product name (?) * Build for all Julia versions * Remove Julia v1.6 build * Update O/openfhe_julia/build_tarballs.jl Co-authored-by: Mosè Giordano <[email protected]> * Remove manual removal of Julia v1.6 --------- Co-authored-by: Mosè Giordano <[email protected]>
* Add openfhe-julia * Rename dir to match product name (?) * Build for all Julia versions * Remove Julia v1.6 build * Update O/openfhe_julia/build_tarballs.jl Co-authored-by: Mosè Giordano <[email protected]> * Remove manual removal of Julia v1.6 --------- Co-authored-by: Mosè Giordano <[email protected]>
No description provided.