Skip to content

Commit bb526a5

Browse files
committed
Fix perms and remove -mavx2 from build options, not supported on arm
1 parent 1a0854b commit bb526a5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

streams/streams_extra/run_stream

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,17 +219,15 @@ install_numa_streams()
219219

220220
export CC=gcc
221221
export CXX=g++
222-
223-
chmod 755 build_stream_dynamic.py
224-
225222
#
226223
# No cpu_governor on cloud systems
227224
#
228225
files=`grep set_cpu_governor * |cut -d':' -f1 | sort -u`
229226
for i in $files; do
230-
sed "s/^set_cpu_governor$/# set_cpu_governor/g" < $i > foo
227+
sed "s/^set_cpu_governor$/# set_cpu_governor/g" < $i | sed "s/-mavx2//g" > foo
231228
rm -rf $i
232229
mv foo $i
230+
chmod 755 $i
233231
done
234232
./build_stream_dynamic.py
235233
chmod 755 ./run_stream_dynamic.py

0 commit comments

Comments
 (0)