Skip to content

Commit

Permalink
Updated default_app_cpu_target for i686 to match julia binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
stemann authored Jun 25, 2024
1 parent 791bc90 commit 59bde9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PackageCompiler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ const DEFAULT_JULIA_INIT_HEADER = @path joinpath(@__DIR__, "julia_init.h")
default_julia_init() = String(DEFAULT_JULIA_INIT)
default_julia_init_header() = String(DEFAULT_JULIA_INIT_HEADER)

# See https://github.com/JuliaCI/julia-buildbot/blob/489ad6dee5f1e8f2ad341397dc15bb4fce436b26/master/inventory.py
# See https://github.com/JuliaCI/julia-buildkite/blob/e24608c/utilities/build_envs.sh#L20-L94
function default_app_cpu_target()
Sys.ARCH === :i686 ? "pentium4;sandybridge,-xsaveopt,clone_all" :
Sys.ARCH === :i686 ? "pentium4" :
Sys.ARCH === :x86_64 ? "generic;sandybridge,-xsaveopt,clone_all;haswell,-rdrnd,base(1)" :
Sys.ARCH === :arm ? "armv7-a;armv7-a,neon;armv7-a,neon,vfp4" :
Sys.ARCH === :aarch64 ? "generic" #= is this really the best here? =# :
Expand Down

0 comments on commit 59bde9b

Please sign in to comment.