Skip to content

Commit 56b5f5d

Browse files
committed
unix: skip ncurses host build on macOS
This isn't needed on macOS because the OS tic should be modern enough. This also is failing in CI (and likely locally as well).
1 parent 4913069 commit 56b5f5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpython-unix/build-ncurses.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ tar -xf ncurses-${NCURSES_VERSION}.tar.gz
1616
# ncurses version. Our workaround is to build ncurses for the host when
1717
# cross-compiling then make its `tic` available to the target ncurses
1818
# build.
19-
if [ "${BUILD_TRIPLE}" != "${TARGET_TRIPLE}" ]; then
19+
if [[ "${BUILD_TRIPLE}" != "${TARGET_TRIPLE}" && "${PYBUILD_PLATFORM}" != "macos" ]]; then
2020
echo "building host ncurses to provide modern tic for cross-compile"
2121

2222
pushd ncurses-${NCURSES_VERSION}

0 commit comments

Comments
 (0)