examples/natmod: Rename umodule to module.
This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
parent
2eba98f1e0
commit
eb85f4d4c9
|
@ -1,11 +1,11 @@
|
|||
# Location of top-level MicroPython directory
|
||||
MPY_DIR = ../../..
|
||||
|
||||
# Name of module (different to built-in uzlib so it can coexist)
|
||||
MOD = uzlib_$(ARCH)
|
||||
# Name of module (different to built-in heapq so it can coexist)
|
||||
MOD = heapq_$(ARCH)
|
||||
|
||||
# Source files (.c or .py)
|
||||
SRC = uzlib.c
|
||||
SRC = heapq.c
|
||||
|
||||
# Architecture to build for (x86, x64, armv7m, xtensa, xtensawin)
|
||||
ARCH = x64
|
|
@ -1,11 +1,11 @@
|
|||
# Location of top-level MicroPython directory
|
||||
MPY_DIR = ../../..
|
||||
|
||||
# Name of module (different to built-in uheapq so it can coexist)
|
||||
MOD = uheapq_$(ARCH)
|
||||
# Name of module (different to built-in random so it can coexist)
|
||||
MOD = random_$(ARCH)
|
||||
|
||||
# Source files (.c or .py)
|
||||
SRC = uheapq.c
|
||||
SRC = random.c
|
||||
|
||||
# Architecture to build for (x86, x64, armv7m, xtensa, xtensawin)
|
||||
ARCH = x64
|
|
@ -1,11 +1,11 @@
|
|||
# Location of top-level MicroPython directory
|
||||
MPY_DIR = ../../..
|
||||
|
||||
# Name of module (different to built-in ure so it can coexist)
|
||||
MOD = ure_$(ARCH)
|
||||
# Name of module (different to built-in re so it can coexist)
|
||||
MOD = re_$(ARCH)
|
||||
|
||||
# Source files (.c or .py)
|
||||
SRC = ure.c
|
||||
SRC = re.c
|
||||
|
||||
# Architecture to build for (x86, x64, armv7m, xtensa, xtensawin)
|
||||
ARCH = x64
|
|
@ -1,11 +1,11 @@
|
|||
# Location of top-level MicroPython directory
|
||||
MPY_DIR = ../../..
|
||||
|
||||
# Name of module (different to built-in urandom so it can coexist)
|
||||
MOD = urandom_$(ARCH)
|
||||
# Name of module (different to built-in zlib so it can coexist)
|
||||
MOD = zlib_$(ARCH)
|
||||
|
||||
# Source files (.c or .py)
|
||||
SRC = urandom.c
|
||||
SRC = zlib.c
|
||||
|
||||
# Architecture to build for (x86, x64, armv7m, xtensa, xtensawin)
|
||||
ARCH = x64
|
10
tools/ci.sh
10
tools/ci.sh
|
@ -454,10 +454,10 @@ function ci_native_mpy_modules_build {
|
|||
make -C examples/natmod/features3 ARCH=$arch
|
||||
make -C examples/natmod/btree ARCH=$arch
|
||||
make -C examples/natmod/framebuf ARCH=$arch
|
||||
make -C examples/natmod/uheapq ARCH=$arch
|
||||
make -C examples/natmod/urandom ARCH=$arch
|
||||
make -C examples/natmod/ure ARCH=$arch
|
||||
make -C examples/natmod/uzlib ARCH=$arch
|
||||
make -C examples/natmod/heapq ARCH=$arch
|
||||
make -C examples/natmod/random ARCH=$arch
|
||||
make -C examples/natmod/re ARCH=$arch
|
||||
make -C examples/natmod/zlib ARCH=$arch
|
||||
}
|
||||
|
||||
function ci_native_mpy_modules_32bit_build {
|
||||
|
@ -523,7 +523,7 @@ function ci_unix_coverage_run_mpy_merge_tests {
|
|||
|
||||
function ci_unix_coverage_run_native_mpy_tests {
|
||||
MICROPYPATH=examples/natmod/features2 ./ports/unix/build-coverage/micropython -m features2
|
||||
(cd tests && ./run-natmodtests.py "$@" extmod/{btree*,framebuf*,uheapq*,urandom*,ure*,uzlib*}.py)
|
||||
(cd tests && ./run-natmodtests.py "$@" extmod/{btree*,framebuf*,heapq*,random*,re*,zlib*}.py)
|
||||
}
|
||||
|
||||
function ci_unix_32bit_setup {
|
||||
|
|
Loading…
Reference in New Issue