No taskset on osx

This commit is contained in:
Tony Garnock-Jones 2024-04-10 11:07:22 +02:00
parent 008671d0b2
commit deec008c66
1 changed files with 6 additions and 1 deletions

View File

@ -1,2 +1,7 @@
#!/bin/sh
make -C ../syndicate-server binary && exec taskset -c 0,1 ../target/release/syndicate-server -c benchmark-config.pr "$@"
TASKSET='taskset -c 0,1'
if [ $(uname -s) = 'Darwin' ]
then
TASKSET=
fi
make -C ../syndicate-server binary && exec $TASKSET ../target/release/syndicate-server -c benchmark-config.pr "$@"