mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 06:05:44 -04:00
m1 change
This commit is contained in:
parent
ff6fbafb06
commit
0fa8ec4094
1 changed files with 3 additions and 1 deletions
|
|
@ -31,7 +31,9 @@ if [[ ${UNAME_S} == Linux ]]; then
|
|||
CPU_FLAGS_2=$(cat /proc/cpuinfo | grep flags |tail -n 1)
|
||||
elif [[ ${UNAME_S} == Darwin ]]; then
|
||||
CPU_FLAGS=$(sysctl -n machdep.cpu.features)
|
||||
CPU_FLAGS_2=$(sysctl -n machdep.cpu.leaf7_features)
|
||||
if [[ "$arch" == "x86_64" ]]; then
|
||||
CPU_FLAGS_2=$(sysctl -n machdep.cpu.leaf7_features)
|
||||
fi
|
||||
else
|
||||
echo Operating system not supported yet
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue