File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 5
5
6
6
set -ex
7
7
8
- cd /build
8
+ ROOT= ` pwd `
9
9
10
- export PATH=/tools/ ${TOOLCHAIN} /bin:/tools /host/bin:$PATH
11
- export PKG_CONFIG_PATH=/tools/ deps/share/pkgconfig:/tools /deps/lib/pkgconfig
10
+ export PATH=${TOOLS_PATH} / ${TOOLCHAIN} /bin:${TOOLS_PATH} /host/bin:$PATH
11
+ export PKG_CONFIG_PATH=${TOOLS_PATH} / deps/share/pkgconfig:${TOOLS_PATH} /deps/lib/pkgconfig
12
12
13
13
tar -xf tcl8.6.9-src.tar.gz
14
14
pushd tcl8.6.9
@@ -33,9 +33,9 @@ rm -rf pkgs/sqlite* pkgs/tdbc*
33
33
34
34
pushd unix
35
35
36
- CFLAGS=" -fPIC -I/tools /deps/include" ./configure \
36
+ CFLAGS=" -fPIC -I${TOOLS_PATH} /deps/include" ./configure \
37
37
--prefix=/tools/deps \
38
38
--enable-shared=no
39
39
40
- make -j ` nproc `
41
- make -j ` nproc ` install DESTDIR=/build /out
40
+ make -j ${NUM_CPUS}
41
+ make -j ${NUM_CPUS} install DESTDIR=${ROOT} /out
You can’t perform that action at this time.
0 commit comments