We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61c878d commit a7e8b23Copy full SHA for a7e8b23
cpython-unix/build-xproto.sh
@@ -5,18 +5,18 @@
5
6
set -ex
7
8
-cd /build
+ROOT=`pwd`
9
10
pkg-config --version
11
12
-export PATH=/tools/${TOOLCHAIN}/bin:/tools/host/bin:$PATH
13
-export PKG_CONFIG_PATH=/tools/deps/share/pkgconfig
+export PATH=${TOOLS_PATH}/${TOOLCHAIN}/bin:${TOOLS_PATH}/host/bin:$PATH
+export PKG_CONFIG_PATH=${TOOLS_PATH}/deps/share/pkgconfig
14
15
tar -xf xproto-${XPROTO_VERSION}.tar.gz
16
pushd xproto-${XPROTO_VERSION}
17
18
CFLAGS="-fPIC" ./configure \
19
--prefix=/tools/deps
20
21
-make -j `nproc`
22
-make -j `nproc` install DESTDIR=/build/out
+make -j ${NUM_CPUS}
+make -j ${NUM_CPUS} install DESTDIR=${ROOT}/out
0 commit comments