Skip to content

Fix glibc dependency (too hight) - #12

Merged
thomasarsouze merged 19 commits into
masterfrom
93-openalealibcaribu-311-linux-64-binaries-require-glibc_238-so-caribu-fails-on-some-outdated-clusters
Oct 5, 2026
Merged

thomasarsouze merged 19 commits into
masterfrom
93-openalealibcaribu-311-linux-64-binaries-require-glibc_238-so-caribu-fails-on-some-outdated-clusters

Conversation

@thomasarsouze

Copy link
Copy Markdown
Contributor

No description provided.

@AurelienBesnier

Copy link
Copy Markdown
Contributor

Hi, I think the ci on windows fails because it tries to use visual studio instead of mingw maybe it gets overwritten. You might need to change the generator to MinGW Makefiles

@thomasarsouze

Copy link
Copy Markdown
Contributor Author

You're right. We said we need to use visual studio for the next release, so we need to get rid of MinGW Makefiles

@AurelienBesnier

Copy link
Copy Markdown
Contributor

Maybe removing the conda_build_config.yaml would help.

It's also possible we have to set it inside the CMakeLists.txt like this:

set(CMAKE_GENERATOR "Visual Studio 18 2026")

or maybe set the version of the toolset like this:

set(CMAKE_GENERATOR_TOOLSET "version=14.51")  # or whatever the version is 

It should also be possible to pass those variables like it was done before in the meta.yaml

@thomasarsouze

Copy link
Copy Markdown
Contributor Author

Maybe removing the conda_build_config.yaml would help.

It's also possible we have to set it inside the CMakeLists.txt like this:

set(CMAKE_GENERATOR "Visual Studio 18 2026")

It looks like 'windows-latest' runner has recently changed to use VS2026 as default, and not VS2022 as used by conda-forge... I'll change windows runner to 'windows-2022'

or maybe set the version of the toolset like this:

set(CMAKE_GENERATOR_TOOLSET "version=14.51")  # or whatever the version is 

It should also be possible to pass those variables like it was done before in the meta.yaml

I keep investigating solutions where I do not have to set versions whether in pyproject, meta of cmake files.

thomasarsouze and others added 3 commits October 1, 2026 12:09
machine.h defined HUGE as a numeric literal before <math.h> was included,
which breaks UCRT's corecrt_math.h declaration of HUGE (error C2059).
Include <math.h> first and only fall back to a finite HUGE when the
system does not provide the macro.
@GeraultTr

Copy link
Copy Markdown
Contributor

Hello, I just edited the definition of HUGE for windows-2022 so it aligns with linux and mac and eventually enable to pass the CI. I think the fix is still relevant if going back to windows-latest.

@christian34 christian34 linked an issue Oct 3, 2026 that may be closed by this pull request
@AurelienBesnier

Copy link
Copy Markdown
Contributor

The fix for mac is also being worked on in this PR #14. It's a path problem

@thomasarsouze
thomasarsouze merged commit 2f24cbd into master Oct 5, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

openalea.libcaribu 3.1.1 linux-64 binaries require GLIBC_2.38, so Caribu fails on some outdated clusters use msvc on windows

3 participants