Skip to content

Commit

Permalink
custom configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
malytomas committed May 15, 2024
1 parent 879ec26 commit bdd4721
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
- name: wamrc
run: |
cd wamr/wamr-compiler
mkdir build
cd build
cmake ..
Expand All @@ -37,7 +36,7 @@ jobs:
name: wamrc-linux
compression-level: 9
path: |
wamr/wamr-compiler/build/wamrc
build/wamr/wamr-compiler/wamrc
windows:
name: windows
Expand All @@ -64,7 +63,6 @@ jobs:
- name: wamrc
shell: bash
run: |
cd wamr/wamr-compiler
mkdir build
cd build
cmake ..
Expand All @@ -76,4 +74,4 @@ jobs:
name: wamrc-windows
compression-level: 9
path: |
wamr/wamr-compiler/build/Release/wamrc.exe
build/wamr/wamr-compiler/Release/wamrc.exe
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/build*
/Win32
/x64
/.vs
/out
CMakeLists.txt.user
CMakeSettings.json
*~
12 changes: 12 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
cmake_minimum_required(VERSION 3.22)

project(wamrc LANGUAGES C ASM CXX)

set(WAMR_BUILD_DEBUG_AOT 0)
set(WAMR_BUILD_LIBC_BUILTIN 1)
set(WAMR_BUILD_LIBC_UVWASI 0)
set(WAMR_BUILD_LIBC_WASI 0)
set(WAMR_BUILD_LIB_PTHREAD 0)
set(WAMR_BUILD_LIB_WASI_THREADS 0)

add_subdirectory("wamr/wamr-compiler")
2 changes: 1 addition & 1 deletion wamr
Submodule wamr updated 53 files
+1 −1 .github/scripts/codeql_buildscript.sh
+2 −3 .github/workflows/compilation_on_android_ubuntu.yml
+1 −1 build-scripts/build_llvm.py
+1 −1 build-scripts/config_common.cmake
+1 −1 ci/build_wamr.sh
+33 −18 ci/coding_guidelines_check.py
+4 −21 core/config.h
+38 −23 core/iwasm/aot/aot_loader.c
+126 −67 core/iwasm/aot/aot_runtime.c
+1 −1 core/iwasm/aot/aot_runtime.h
+28 −14 core/iwasm/common/wasm_c_api.c
+58 −0 core/iwasm/common/wasm_loader_common.c
+23 −0 core/iwasm/common/wasm_loader_common.h
+1 −9 core/iwasm/common/wasm_memory.c
+24 −7 core/iwasm/common/wasm_runtime_common.c
+3 −0 core/iwasm/common/wasm_runtime_common.h
+59 −42 core/iwasm/compilation/aot_compiler.c
+15 −0 core/iwasm/compilation/aot_compiler.h
+0 −35 core/iwasm/compilation/aot_emit_aot_file.c
+89 −52 core/iwasm/compilation/aot_emit_memory.c
+15 −15 core/iwasm/compilation/aot_emit_memory.h
+5 −2 core/iwasm/compilation/aot_emit_numberic.c
+13 −51 core/iwasm/compilation/aot_llvm.c
+8 −8 core/iwasm/compilation/simd/simd_load_store.c
+7 −7 core/iwasm/compilation/simd/simd_load_store.h
+1 −1 core/iwasm/include/gc_export.h
+10 −6 core/iwasm/include/wasm_c_api.h
+16 −1 core/iwasm/include/wasm_export.h
+6 −3 core/iwasm/interpreter/wasm.h
+1 −1 core/iwasm/interpreter/wasm_interp_classic.c
+45 −54 core/iwasm/interpreter/wasm_loader.c
+12 −40 core/iwasm/interpreter/wasm_mini_loader.c
+22 −14 core/iwasm/interpreter/wasm_runtime.c
+1 −1 core/iwasm/interpreter/wasm_runtime.h
+10 −0 core/shared/platform/nuttx/nuttx_platform.c
+2 −2 doc/build_wamr.md
+1 −1 doc/perf_tune.md
+2 −2 language-bindings/go/wamr/instance.go
+1 −1 language-bindings/python/src/wamr/wasmcapi/binding.py
+4 −4 language-bindings/python/src/wamr/wasmcapi/ffi.py
+1 −1 language-bindings/python/wasm-c-api/tests/test_basic.py
+1 −0 product-mini/platforms/alios-things/aos.mk
+1 −0 product-mini/platforms/nuttx/wamr.mk
+10 −2 product-mini/platforms/posix/main.c
+3 −3 samples/basic/src/main.c
+2 −2 samples/ref-types/src/hello.c
+1 −1 samples/wasm-c-api/src/callback.c
+4 −4 samples/wasm-c-api/src/hostref.c
+2 −1 samples/wasm-c-api/src/reflect.c
+4 −6 tests/wamr-test-suites/spec-test-script/runtest.py
+20 −0 tests/wamr-test-suites/spec-test-script/thread_proposal_remove_memory64_flag_case.patch
+17 −9 tests/wamr-test-suites/test_wamr.sh
+1 −0 wamr-compiler/CMakeLists.txt

0 comments on commit bdd4721

Please sign in to comment.