mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-01 06:07:59 +00:00
Toolchain+Ports: Install host python into Local/python, not Local/$ARCH
Following the pattern for qemu, mold, and clang, we should install the host python required to build the python port into its own install tree rather than forcing it into the GNU compiler's bindir.
This commit is contained in:
committed by
Linus Groh
parent
242bbf1be4
commit
dcc0f299be
@@ -5,9 +5,8 @@ set -e
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
ARCH=${ARCH:-"i686"}
|
||||
PREFIX_DIR="$DIR/Local/$ARCH"
|
||||
BUILD_DIR="$DIR/Build/$ARCH"
|
||||
PREFIX_DIR="$DIR/Local/python"
|
||||
BUILD_DIR="$DIR/Build/python"
|
||||
TARBALLS_DIR="$DIR/Tarballs"
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
@@ -42,9 +41,9 @@ if [ -z "$MAKEJOBS" ]; then
|
||||
fi
|
||||
|
||||
mkdir -p "${PREFIX_DIR}"
|
||||
mkdir -p "${BUILD_DIR}/python"
|
||||
mkdir -p "${BUILD_DIR}"
|
||||
|
||||
pushd "${BUILD_DIR}/python"
|
||||
pushd "${BUILD_DIR}"
|
||||
"${TARBALLS_DIR}"/Python-"${PYTHON_VERSION}"/configure --prefix="${PREFIX_DIR}"
|
||||
make -j "${MAKEJOBS}"
|
||||
make install
|
||||
|
||||
Reference in New Issue
Block a user