Implement SIMD latest opcodes and update LLVM to 13.0 (#758)
Implement the latest SIMD opcodes and update LLVM 13.0, update the llvm build scripts, update the sample workloads‘ build scripts, and build customized wasi-sdk to build some workloads. Also refine the CI rules. Signed-off-by: Wenyong Huang <wenyong.huang@intel.com>
This commit is contained in:
13
test-tools/build-wasi-sdk/patches/wasi_libc.patch
Normal file
13
test-tools/build-wasi-sdk/patches/wasi_libc.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/expected/wasm32-wasi/predefined-macros.txt b/expected/wasm32-wasi/predefined-macros.txt
|
||||
index c1bb19e..954f3b5 100644
|
||||
--- a/expected/wasm32-wasi/predefined-macros.txt
|
||||
+++ b/expected/wasm32-wasi/predefined-macros.txt
|
||||
@@ -3002,6 +3002,8 @@
|
||||
#define __alignof_is_defined 1
|
||||
#define __bitop(x,i,o) ((x)[(i)/8] o (1<<(i)%8))
|
||||
#define __bool_true_false_are_defined 1
|
||||
+#define __clang_literal_encoding__ "UTF-8"
|
||||
+#define __clang_wide_literal_encoding__ "UTF-32"
|
||||
#define __inline inline
|
||||
#define __restrict restrict
|
||||
#define __tg_complex(fun,x) (__RETCAST_CX(x)( __FLTCX((x)+I) && __IS_FP(x) ? fun ## f (x) : __LDBLCX((x)+I) ? fun ## l (x) : fun(x) ))
|
||||
15
test-tools/build-wasi-sdk/patches/wasi_sdk.patch
Normal file
15
test-tools/build-wasi-sdk/patches/wasi_sdk.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff --git a/version.sh b/version.sh
|
||||
index 8e7c44c..ff0d3ba 100755
|
||||
--- a/version.sh
|
||||
+++ b/version.sh
|
||||
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
-set -e
|
||||
-GIT_DESCR=$(git describe --long --candidates=999 --match='wasi-sdk-*' --dirty='+m' --abbrev=12)
|
||||
-GIT_PACKAGE_VERSION=$(echo $GIT_DESCR | perl -ne 'if(/^wasi-sdk-(\d+)-(\d+)-g([0-9a-f]{7,12})([+]m)?$/) { if($2 == 0) { print "$1.$2$4" } else { print "$1.$2g$3$4" } exit } else { print "could not parse git description"; exit 1 }';)
|
||||
-echo $GIT_PACKAGE_VERSION
|
||||
+#set -e
|
||||
+#GIT_DESCR=$(git describe --long --candidates=999 --match='wasi-sdk-*' --dirty='+m' --abbrev=12)
|
||||
+#GIT_PACKAGE_VERSION=$(echo $GIT_DESCR | perl -ne 'if(/^wasi-sdk-(\d+)-(\d+)-g([0-9a-f]{7,12})([+]m)?$/) { if($2 == 0) { print "$1.$2$4" } else { print "$1.$2g$3$4" } exit } else { print "could not parse git description"; exit 1 }';)
|
||||
+#echo $GIT_PACKAGE_VERSION
|
||||
+echo wasi-sdk-13-eng
|
||||
Reference in New Issue
Block a user