Skip to content

Commit

Permalink
examples/natmod: Rename umodule to module.
Browse files Browse the repository at this point in the history
This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
  • Loading branch information
jimmo committed Jun 8, 2023
1 parent 2eba98f commit eb85f4d
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
@@ -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
Expand Down
File renamed without changes.
@@ -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
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions examples/natmod/ure/Makefile → examples/natmod/re/Makefile
@@ -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
Expand Down
File renamed without changes.
@@ -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
Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions tools/ci.sh
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit eb85f4d

Please sign in to comment.