Skip to content

use same cpu target as currrent sysimage on 1.13+#1096

Open
KristofferC wants to merge 1 commit intomasterfrom
kc/sysimage_target
Open

use same cpu target as currrent sysimage on 1.13+#1096
KristofferC wants to merge 1 commit intomasterfrom
kc/sysimage_target

Conversation

@KristofferC
Copy link
Copy Markdown
Member

No description provided.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.59%. Comparing base (686b959) to head (2555da2).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1096   +/-   ##
=======================================
  Coverage   85.59%   85.59%           
=======================================
  Files           3        3           
  Lines         826      826           
=======================================
  Hits          707      707           
  Misses        119      119           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/PackageCompiler.jl

const NATIVE_CPU_TARGET = "native"
const DEFAULT_SYSIMAGE_CPU_TARGET = @static if VERSION >= v"1.13-"
Sys.sysimage_target()
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should we use "sysimage"? I thought that was a new alias for this in 1.13, IIRC

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I am a bit confused that this doesn't align with default_app_cpu_target() though

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I am a bit confused that this doesn't align with default_app_cpu_target() though

What do you mean? If you mean why app cpu target does not align with "sysimage" it is because you probably want to distribute an app with a wider cpu target than "native" even if you use a locally built julia (that probably defaulted to native)? But maybe you mean something else.

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