v1.1.24 update
[musl-tables] / update.sh
1 #!/bin/sh
2
3 export LC_ALL=C
4
5 [ -e /tmp/Mrepo ] && echo 'using existing Mrepo' || git clone ${MUSL:-../musl} /tmp/Mrepo
6 export MUSL=/tmp/Mrepo
7
8 [ -e /tmp/Mprefix ] && echo 'using existing Mprefix' || (
9 mkdir -p /tmp/Mbuild
10 cd /tmp/Mbuild
11 /tmp/Mrepo/configure --prefix=/tmp/Mprefix --syslibdir=/tmp/Mprefix/lib --disable-wrapper 
12 make -j install
13 )
14 export MUSL_PREFIX=/tmp/Mprefix
15
16 . ./makesyms.sh
17 . ./maketags.sh
18 . ./maketagssrc.sh
19 . ./makedecls.sh
20 . ./abi_type.sh
21 . ./abi_func.sh
22
23 . ./tab_c99.sh
24 . ./tab_c11.sh
25 . ./tab_posix.sh
26 . ./findproblems.sh