Add MODE=optlinux build mode (#141)

This commit is contained in:
Justine Tunney 2021-10-14 19:36:49 -07:00
parent 226aaf3547
commit 67b5200a0b
111 changed files with 934 additions and 854 deletions

View file

@ -1319,6 +1319,7 @@ THIRD_PARTY_PYTHON_PYTEST_A_DATA = \
third_party/python/Lib/venv/scripts/nt/deactivate.bat \
third_party/python/Lib/venv/scripts/posix/activate.csh \
third_party/python/Lib/venv/scripts/posix/activate.fish \
third_party/python/Lib/test/hello.com \
third_party/python/Lib/test/xmltestdata/ \
third_party/python/Lib/test/xmltestdata/simple.xml \
third_party/python/Lib/test/xmltestdata/simple-ns.xml \
@ -1808,6 +1809,7 @@ THIRD_PARTY_PYTHON_PYTEST_PYMAINS = \
third_party/python/Lib/test/test_mimetypes.py \
third_party/python/Lib/test/test_hashlib.py \
third_party/python/Lib/test/test_kdf.py \
third_party/python/Lib/test/test_cosmo.py \
third_party/python/Lib/test/test_scratch.py \
third_party/python/Lib/test/test_complex.py \
third_party/python/Lib/test/test_funcattrs.py \
@ -2561,6 +2563,10 @@ o/$(MODE)/third_party/python/Lib/test/test_kdf.py.runs: \
o/$(MODE)/third_party/python/pythontester.com
@$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_kdf $(PYTESTARGS)
o/$(MODE)/third_party/python/Lib/test/test_cosmo.py.runs: \
o/$(MODE)/third_party/python/pythontester.com
@$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_cosmo $(PYTESTARGS)
o/$(MODE)/third_party/python/Lib/test/test_scratch.py.runs: \
o/$(MODE)/third_party/python/pythontester.com
@$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_scratch $(PYTESTARGS)
@ -3750,6 +3756,10 @@ o/$(MODE)/third_party/python/Lib/test/test_baseexception.o: PYFLAGS += -Y.python
o/$(MODE)/third_party/python/Lib/test/test_cmath.o: PYFLAGS += -Y.python/test/ieee754.txt
o/$(MODE)/third_party/python/Lib/test/test_difflib.o: PYFLAGS += -Y.python/test/test_difflib_expect.html
o/$(MODE)/third_party/python/Lib/test/test_cosmo.o: \
PYFLAGS += \
-Y.python/test/hello.com
o/$(MODE)/third_party/python/Lib/test/test_math.o: \
PYFLAGS += \
-Y.python/test/ieee754.txt \