No taskset on osx
This commit is contained in:
parent
008671d0b2
commit
deec008c66
|
@ -1,2 +1,7 @@
|
||||||
#!/bin/sh
|
#!/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 "$@"
|
||||||
|
|
Loading…
Reference in New Issue