2018-02-08 00:24:25 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# usage: $0 [optional arguments to configure]
|
|
|
|
|
|
|
|
if ! [ -f "./autogen.sh" ]; then
|
|
|
|
echo "ERROR: cannot find autogen.sh, run from the top level directory"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2023-02-14 22:24:03 +00:00
|
|
|
jobs=`grep -c ^processor /proc/cpuinfo`
|
|
|
|
|
2018-02-08 00:24:25 +00:00
|
|
|
./autogen.sh
|
|
|
|
./configure "$@"
|
2020-10-02 18:58:24 +00:00
|
|
|
echo "D=$D"
|
2023-02-14 22:24:03 +00:00
|
|
|
make -j $jobs
|
2024-04-02 18:58:31 +00:00
|
|
|
make -j $jobs btrfs.box
|
2023-02-14 22:24:03 +00:00
|
|
|
make hash-speedtest hash-vectest ioctl-test json-formatter-test string-table-test
|