Skip to content

Conversation

@gbaraldi
Copy link
Member

This sets the freeze_cpu_feature preference for HostCPUFeatures.jl, which means it will freeze whatever CPU target was used for it's precompilation.
This allows it to be loaded and used, but it might lose some portability

Copy link
Member

@topolarity topolarity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks excellent, thanks!

src/compiling.jl Outdated
println(io, "[HostCPUFeatures]")
println(io, "freeze_cpu_target = true")
end
# Prepend the temp env to JULIA_LOAD_PATH
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically appending not prepending, although I don't know which side is higher priority.

@topolarity
Copy link
Member

@gbaraldi Anything you're waiting on for the merge?

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