micropython/ports/unix
Damien George af20c2ead3 py: Add global default_emit_opt variable to make emit kind persistent.
mp_compile no longer takes an emit_opt argument, rather this setting is now
provided by the global default_emit_opt variable.

Now, when -X emit=native is passed as a command-line option, the emitter
will be set for all compiled modules (included imports), not just the
top-level script.

In the future there could be a way to also set this variable from a script.

Fixes issue #4267.
2019-08-28 12:47:58 +10:00
..
coverage-frzmpy ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
coverage-frzstr ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
modules all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
.gitignore gitignore: Put build-*/ pattern in top-level gitignore file. 2019-08-16 00:08:08 +10:00
Makefile unix/Makefile: Update coverage tests to match those in Travis. 2019-03-08 16:51:09 +11:00
alloc.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
coverage.c unix/coverage: Add test for printing literal % character. 2019-05-03 23:21:28 +10:00
fatfs_port.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
fdfile.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
file.c ports: Convert legacy uppercase macro names to lowercase. 2019-02-12 14:54:51 +11:00
gccollect.c unix/gcollect: Make sure stack/regs get captured properly for GC. 2019-05-01 15:06:21 +10:00
input.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
input.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
main.c py: Add global default_emit_opt variable to make emit kind persistent. 2019-08-28 12:47:58 +10:00
modffi.c various: Add and update my copyright line based on git history. 2019-05-17 18:04:15 +10:00
modjni.c ports: Convert legacy uppercase macro names to lowercase. 2019-02-12 14:54:51 +11:00
modmachine.c various: Add and update my copyright line based on git history. 2019-05-17 18:04:15 +10:00
modos.c various: Update early copyright years to match actual edit history. 2019-05-17 18:06:11 +10:00
modtermios.c various: Add and update my copyright line based on git history. 2019-05-17 18:04:15 +10:00
modtime.c various: Update early copyright years to match actual edit history. 2019-05-17 18:06:11 +10:00
moduos_vfs.c unix/moduos_vfs: Add missing uos functions from traditional uos module. 2018-06-06 14:28:23 +10:00
moduselect.c ports: Convert legacy uppercase macro names to lowercase. 2019-02-12 14:54:51 +11:00
modusocket.c unix/modusocket: Raise ETIMEDOUT when connect or accept has timeout. 2019-05-28 17:22:54 +10:00
mpconfigport.h py/modmath: Implement math.isclose() for non-complex numbers. 2019-08-17 23:23:17 +10:00
mpconfigport.mk unix/mpconfigport.mk: Update comment about TLS implementations. 2019-06-05 15:28:30 +10:00
mpconfigport_coverage.h extmod/modure: Make regex dump-code debugging feature optional. 2019-08-19 16:43:00 +10:00
mpconfigport_fast.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
mpconfigport_freedos.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
mpconfigport_minimal.h py/objstr: Make str.count() method configurable. 2018-10-22 22:49:05 +11:00
mpconfigport_nanbox.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
mphalport.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
mpthreadport.c unix/mpthreadport: Use named semaphores on Mac OS X. 2019-03-27 10:50:01 +11:00
mpthreadport.h unix/mpthreadport: Add thread deinit code to stop threads on exit. 2019-01-27 12:38:23 +11:00
qstrdefsport.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
unix_mphal.c unix/unix_mphal: Include time.h for CLOCK_MONOTONIC. 2019-07-09 13:05:59 +10:00