Skip to content

Commit

Permalink
Fix perms and remove -mavx2 from build options, not supported on arm
Browse files Browse the repository at this point in the history
  • Loading branch information
dvalinrh committed Nov 28, 2022
1 parent 1a0854b commit bb526a5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions streams/streams_extra/run_stream
Original file line number Diff line number Diff line change
Expand Up @@ -219,17 +219,15 @@ install_numa_streams()

export CC=gcc
export CXX=g++

chmod 755 build_stream_dynamic.py

#
# No cpu_governor on cloud systems
#
files=`grep set_cpu_governor * |cut -d':' -f1 | sort -u`
for i in $files; do
sed "s/^set_cpu_governor$/# set_cpu_governor/g" < $i > foo
sed "s/^set_cpu_governor$/# set_cpu_governor/g" < $i | sed "s/-mavx2//g" > foo
rm -rf $i
mv foo $i
chmod 755 $i
done
./build_stream_dynamic.py
chmod 755 ./run_stream_dynamic.py
Expand Down

0 comments on commit bb526a5

Please sign in to comment.