Skip to content

Commit 6fa6ae0

Browse files
committed
3.14 rc 1 is available
Note that free threaded doesn't support using the thread sanitizer ...
1 parent ee5af2d commit 6fa6ae0

2 files changed

Lines changed: 17 additions & 5 deletions

File tree

Makefile

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,12 @@ src/_unicodedb.c: tools/ucdprops2code.py ## Update generated Unicode database lo
262262
$(PYTHON) tools/ucdprops2code.py $@
263263

264264
# building a python debug interpreter
265-
PYDEBUG_VER=3.14.0b3
265+
PYDEBUG_VER=3.14.0rc1
266266
PYDEBUG_DIR=/space/pydebug
267267
PYTHREAD_VER=$(PYDEBUG_VER)
268268
PYTHREAD_DIR=/space/pythread
269+
PYFREETHREAD_VER=$(PYDEBUG_VER)
270+
PYFREETHREAD_DIR=/space/pyfreethread
269271
# This must end in slash
270272
PYDEBUG_WORKDIR=/space/apsw-test/
271273

@@ -282,11 +284,21 @@ pydebug: ## Build a debug python including address sanitizer. Extensions it bui
282284
pythread: ## Build a debug python including thread sanitizer. Extensions it builds are also thread sanitized
283285
set -x && cd "$(PYTHREAD_DIR)" && find . -delete && \
284286
curl https://www.python.org/ftp/python/`echo $(PYTHREAD_VER) | sed 's/[abr].*//'`/Python-$(PYTHREAD_VER).tar.xz | tar xfJ - && \
285-
cd Python-$(PYDEBUG_VER) && \
286-
env CFLAGS=-fsanitize=thread LDFLAGS=-fsanitize=thread TSAN_OPTIONS=report_bugs=0 ./configure --without-pymalloc --with-pydebug --prefix="$(PYTHREAD_DIR)" --without-freelists && \
287-
$(MAKE) -j install
287+
cd Python-$(PYTHREAD_VER) && \
288+
./configure --with-address-sanitizer --with-undefined-behavior-sanitizer --with-strict-overflow --with-thread-sanitizer \
289+
--without-pymalloc --with-pydebug --prefix="$(PYTHREAD_DIR)" --without-freelists --with-assertions --disable-ipv6 && \
290+
env ASAN_OPTIONS=detect_leaks=false $(MAKE) -j install
288291
$(MAKE) dev-depends PYTHON=$(PYTHREAD_DIR)/bin/python3
289292

293+
pyfreethread: ## Build a debug FREE THREADED python
294+
set -x && cd "$(PYFREETHREAD_DIR)" && find . -delete && \
295+
curl https://www.python.org/ftp/python/`echo $(PYFREETHREAD_VER) | sed 's/[abr].*//'`/Python-$(PYFREETHREAD_VER).tar.xz | tar xfJ - && \
296+
cd Python-$(PYFREETHREAD_VER) && \
297+
./configure --disable-gil --with-address-sanitizer --with-undefined-behavior-sanitizer --with-strict-overflow \
298+
--with-pydebug --prefix="$(PYFREETHREAD_DIR)" --without-freelists --with-assertions && \
299+
env ASAN_OPTIONS=detect_leaks=false $(MAKE) -j install
300+
$(MAKE) dev-depends PYTHON=$(PYFREETHREAD_DIR)/bin/python3
301+
290302
langserver: ## Language server integration json
291303
$(PYTHON) tools/gencompilecommands.py > compile_commands.json
292304

tools/megatest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def cmp(a, b):
219219

220220
# Default versions we support
221221
PYVERS = (
222-
"3.14.0b4",
222+
"3.14.0rc1",
223223
"3.13.4",
224224
"3.12.11",
225225
"3.11.13",

0 commit comments

Comments
 (0)