Disable optimizations for step WASM->AOT
This commit is contained in:
@ -40,7 +40,7 @@ WAMRC := /opt/wamr-wamrc/wamrc
|
|||||||
WAMRCFLAGS := \
|
WAMRCFLAGS := \
|
||||||
--target=i386 \
|
--target=i386 \
|
||||||
--cpu=generic \
|
--cpu=generic \
|
||||||
--opt-level=3
|
--opt-level=0
|
||||||
|
|
||||||
${BUILD_DIR}/%/module.aot: ${BUILD_DIR}/%/module.wasm
|
${BUILD_DIR}/%/module.aot: ${BUILD_DIR}/%/module.wasm
|
||||||
${WAMRC} ${WAMRCFLAGS} -o $@ $<
|
${WAMRC} ${WAMRCFLAGS} -o $@ $<
|
||||||
@ -246,7 +246,7 @@ inject-%:
|
|||||||
-Wf,--catch-write-textsegment \
|
-Wf,--catch-write-textsegment \
|
||||||
-Wf,--catch-outerspace
|
-Wf,--catch-outerspace
|
||||||
|
|
||||||
# TODO: Command line interface changed
|
# NOTE: Command line interface changed?
|
||||||
import-arch-%: ${BUILD_DIR}/%/trace.pb ${HOME}/.my.cnf
|
import-arch-%: ${BUILD_DIR}/%/trace.pb ${HOME}/.my.cnf
|
||||||
# ${FAIL_IMPORT} -v ${ARCH}/$(patsubst import-arch-%,%,$@) -b mem -t $< -e $(shell dirname $<)/system.elf -i mem --memory-type ram
|
# ${FAIL_IMPORT} -v ${ARCH}/$(patsubst import-arch-%,%,$@) -b mem -t $< -e $(shell dirname $<)/system.elf -i mem --memory-type ram
|
||||||
# ${FAIL_IMPORT} -v ${ARCH}/$(patsubst import-arch-%,%,$@) -b regs-trace -t $< -e $(shell dirname $<)/system.elf -i mem --memory-type register
|
# ${FAIL_IMPORT} -v ${ARCH}/$(patsubst import-arch-%,%,$@) -b regs-trace -t $< -e $(shell dirname $<)/system.elf -i mem --memory-type register
|
||||||
|
|||||||
Reference in New Issue
Block a user