Skip to content

Add fallback for timespec_get#346

Merged
ederc merged 1 commit into
algebraic-solving:masterfrom
wegank:timespec-get-fallback
Jun 18, 2026
Merged

Add fallback for timespec_get#346
ederc merged 1 commit into
algebraic-solving:masterfrom
wegank:timespec-get-fallback

Conversation

@wegank

@wegank wegank commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

As discovered in Yggdrasil and vcpkg, the C11 timespec_get is not available for older (but somehow still used) targets such as OS X Yosemite (released in 2014) or Android 9 Pie (released in 2018). For those targets, there's no other choice than to use gettimeofday instead of timespec_get.

Co-authored-by: xiaozhuai <798047000@qq.com>
@ederc

ederc commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

So let's merge this and see if we can get msolve_jll build.

@ederc ederc merged commit 0441849 into algebraic-solving:master Jun 18, 2026
10 checks passed
@wegank wegank deleted the timespec-get-fallback branch June 18, 2026 11:19
@wegank

wegank commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

I think we should; I've tested on my x86_64-linux machine with BINARYBUILDER_AUTOMATIC_APPLE=true julia build_tarballs.jl x86_64-apple-darwin.

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.

2 participants