File: build-default

package info (click to toggle)
btrfs-progs 6.17-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 20,596 kB
  • sloc: ansic: 127,198; sh: 7,836; python: 1,385; makefile: 900; asm: 296
file content (18 lines) | stat: -rwxr-xr-x 397 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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

jobs=`grep -c ^processor /proc/cpuinfo`

./autogen.sh
./configure "$@"
echo "D=$D"
make -j $jobs
make -j $jobs btrfs.box
make hash-speedtest hash-vectest ioctl-test json-formatter-test string-table-test