mirror of
https://github.com/amd/blis.git
synced 2026-05-11 17:50:00 +00:00
Update configure
Choose last sub-config in the kernel-to-config map if the config list doesn't contain the name of the kernel set. E.g. for "zen: skx knl haswell" pick "haswell" instead of "skx" which was chosen previously. Fixes #470.
This commit is contained in:
6
configure
vendored
6
configure
vendored
@@ -2593,11 +2593,11 @@ main()
|
||||
|
||||
reducedclist="${kernel}"
|
||||
|
||||
# Otherwise, use the first name.
|
||||
# Otherwise, use the last name.
|
||||
else
|
||||
|
||||
first_config=${configs%% *}
|
||||
reducedclist="${first_config}"
|
||||
last_config=${configs##* }
|
||||
reducedclist="${last_config}"
|
||||
fi
|
||||
|
||||
# Create a new "kernel:subconfig" pair and add it to the kconfig_map
|
||||
|
||||
Reference in New Issue
Block a user