mirror of
https://github.com/amd/blis.git
synced 2026-05-12 01:59:59 +00:00
Merge pull request #104 from devinamatthews/misspellings
Add flexible options for thread model (pthread/posix for pthreads etc.).
This commit is contained in:
7
configure
vendored
7
configure
vendored
@@ -506,11 +506,14 @@ main()
|
||||
echo "${script_name}: using OpenMP for threading."
|
||||
enable_openmp='yes'
|
||||
enable_openmp_01=1
|
||||
elif [ "x${threading_model}" = "xpthreads" ]; then
|
||||
elif [ "x${threading_model}" = "xpthreads" ] ||
|
||||
[ "x${threading_model}" = "xpthread" ] ||
|
||||
[ "x${threading_model}" = "xposix" ]; then
|
||||
echo "${script_name}: using Pthreads for threading."
|
||||
enable_pthreads='yes'
|
||||
enable_pthreads_01=1
|
||||
elif [ "x${threading_model}" = "xno" ]; then
|
||||
elif [ "x${threading_model}" = "xno" ] ||
|
||||
[ "x${threading_model}" = "xnone" ]; then
|
||||
echo "${script_name}: threading is disabled."
|
||||
else
|
||||
echo "Unsupported threading model: ${threading_model}."
|
||||
|
||||
Reference in New Issue
Block a user