File: build-default

package info (click to toggle)
btrfs-progs 6.2-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 17,244 kB
  • sloc: ansic: 114,376; sh: 9,576; python: 1,242; makefile: 820
file content (17 lines) | stat: -rwxr-xr-x 373 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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 hash-speedtest hash-vectest ioctl-test json-formatter-test string-table-test