Skip to content

Commit b4473ef

Browse files
committed
Specify build dir also for non-editable installs (and fix typo)
1 parent d55c6c2 commit b4473ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/pkgs/sagelib/spkg-install.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ else
6060
(cd "$SITEPACKAGESDIR" && rm -f sagemath-standard.egg-link)
6161
# Use --no-build-isolation to avoid rebuilds because of dependencies:
6262
# Compiling sage/interfaces/sagespawn.pyx because it depends on /private/var/folders/38/wnh4gf1552g_crsjnv2vmmww0000gp/T/pip-build-env-609n5985/overlay/lib/python3.10/site-packages/Cython/Includes/posix/unistd.pxd
63-
sdh_pip_install --no-build-isolation . --config-settings=setup-args="-DSAGE_LOCAL=$SAGE_LOCAL"
63+
sdh_pip_install --no-build-isolation . --config-setting=build-dir="build/sage-distro" --config-setting=setup-args="-DSAGE_LOCAL=$SAGE_LOCAL"
6464
fi
6565

6666
# Remove (potentially invalid) star import caches.

0 commit comments

Comments
 (0)