Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Workaround for developing with GCC 14 #7480

Merged
merged 3 commits into from
Jun 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ build-reqs:

cython: build-reqs
find edb -name '*.pyx' | xargs touch
BUILD_EXT_MODE=py-only python setup.py build_ext --inplace
# See also: https://github.com/cython/cython/issues/5240
CFLAGS="${CFLAGS} -Wno-error=incompatible-pointer-types" BUILD_EXT_MODE=py-only python setup.py build_ext --inplace


# Just rebuild actually changed cython. This *should* work, since
# that is how build systems are supposed to be, but it sometimes
# fails in annoying ways.
cython-fast: build-reqs
BUILD_EXT_MODE=py-only python setup.py build_ext --inplace
CFLAGS="${CFLAGS} -Wno-error=incompatible-pointer-types" BUILD_EXT_MODE=py-only python setup.py build_ext --inplace


rust: build-reqs
Expand Down Expand Up @@ -55,7 +56,8 @@ casts: build-reqs

build: build-reqs
find edb -name '*.pyx' | xargs touch
pip install --upgrade --editable .[docs,test,language-server]
# See also: https://github.com/cython/cython/issues/5240
CFLAGS="${CFLAGS} -Wno-error=incompatible-pointer-types" pip install --upgrade --editable .[docs,test,language-server]


clean:
Expand Down