Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OpenBLAS] Set min TARGET #2431

Merged
merged 1 commit into from
Jan 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion O/OpenBLAS/[email protected]/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies = openblas_dependencies()

# Build the tarballs
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies;
preferred_gcc_version=v"6", lock_microarchitecture=false, julia_compat="1.6")
preferred_gcc_version=v"6", lock_microarchitecture=false, julia_compat="1.7")
2 changes: 1 addition & 1 deletion O/OpenBLAS/[email protected]/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies = openblas_dependencies()

# Build the tarballs
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies;
preferred_gcc_version=v"6", lock_microarchitecture=false, julia_compat="1.6")
preferred_gcc_version=v"6", lock_microarchitecture=false, julia_compat="1.7")
2 changes: 1 addition & 1 deletion O/OpenBLAS/[email protected]/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies = openblas_dependencies()

# Build the tarballs
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies;
preferred_gcc_version=v"6", lock_microarchitecture=false, julia_compat="1.6")
preferred_gcc_version=v"6", lock_microarchitecture=false, julia_compat="1.7")
9 changes: 5 additions & 4 deletions O/OpenBLAS/common.jl
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,13 @@ function openblas_script(;num_64bit_threads::Integer=32, openblas32::Bool=false,
flags+=(BINARY=64)
fi

# On Intel architectures, engage DYNAMIC_ARCH
# On Intel and most aarch64 architectures, engage DYNAMIC_ARCH.
# When using DYNAMIC_ARCH the TARGET specifies the minimum architecture requirement.
if [[ ${proc_family} == intel ]]; then
flags+=(TARGET= DYNAMIC_ARCH=1)
# Otherwise, engage a specific target
flags+=(TARGET=GENERIC DYNAMIC_ARCH=1)
elif [[ ${target} == aarch64-* ]] && [[ ${bb_full_target} != *-libgfortran3* ]]; then
flags+=(TARGET= DYNAMIC_ARCH=1)
flags+=(TARGET=ARMV8 DYNAMIC_ARCH=1)
# Otherwise, engage a specific target
elif [[ ${bb_full_target} == aarch64*-libgfortran3* ]]; then
# Old GCC versions, with libgfortran3, can't build for newer
# microarchitectures, let's just use the generic one
Expand Down