mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-84461: Drop -sWASM, fix building tests for browser (GH-91530)
- drop unnecessary ``=1`` suffix from Emscripten flags - drop unnecessary ``-sWASM`` flag for side modules - rename ``build_platform`` to ``build_wasm``. I introduced the target for WASM builds a couple of months ago. - fix ``--enable-test-modules`` for browser builds
This commit is contained in:
parent
1b035d9699
commit
7acedd71de
3 changed files with 53 additions and 57 deletions
|
|
@ -580,7 +580,7 @@ LIBEXPAT_HEADERS= \
|
|||
all: @DEF_MAKE_ALL_RULE@
|
||||
build_all: check-clean-src $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks \
|
||||
Programs/_testembed python-config
|
||||
build_platform: check-clean-src $(BUILDPYTHON) platform
|
||||
build_wasm: check-clean-src $(BUILDPYTHON) platform oldsharedmods python-config
|
||||
|
||||
# Check that the source is clean when building out of source.
|
||||
check-clean-src:
|
||||
|
|
@ -2475,7 +2475,7 @@ update-config:
|
|||
Python/thread.o: @THREADHEADERS@ $(srcdir)/Python/condvar.h
|
||||
|
||||
# Declare targets that aren't real files
|
||||
.PHONY: all build_all sharedmods check-clean-src oldsharedmods test quicktest
|
||||
.PHONY: all build_all build_wasm sharedmods check-clean-src oldsharedmods test quicktest
|
||||
.PHONY: install altinstall oldsharedinstall bininstall altbininstall
|
||||
.PHONY: maninstall libinstall inclinstall libainstall sharedinstall
|
||||
.PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue