已开启
【需求】upgrade to cangjie 1.1.0 #10
fangwei创建于 2月11日
【需求】upgrade to cangjie 1.1.0 #10
已开启
共 3 个文件变更+24-10
| @@ -2,9 +2,9 @@ | |||
| 2 | <h1>kv4cj</h1> | 2 | <h1>kv4cj</h1> |
| 3 | </div> | 3 | </div> |
| 4 | <p align="center"> | 4 | <p align="center"> |
| 5 | -<img alt="" src="https://img.shields.io/badge/release-v1.0.3-brightgreen" style="display: inline-block;" /> | 5 | +<img alt="" src="https://img.shields.io/badge/release-v1.0.4-brightgreen" style="display: inline-block;" /> |
| 6 | <img alt="" src="https://img.shields.io/badge/build-pass-brightgreen" style="display: inline-block;" /> | 6 | <img alt="" src="https://img.shields.io/badge/build-pass-brightgreen" style="display: inline-block;" /> |
| 7 | -<img alt="" src="https://img.shields.io/badge/cjc-v1.0.0-brightgreen" style="display: inline-block;" /> | 7 | +<img alt="" src="https://img.shields.io/badge/cjc-v1.1.0-brightgreen" style="display: inline-block;" /> |
| 8 | <img alt="" src="https://img.shields.io/badge/cjcov-93.3%25-brightgreen" style="display: inline-block;" /> | 8 | <img alt="" src="https://img.shields.io/badge/cjcov-93.3%25-brightgreen" style="display: inline-block;" /> |
| 9 | <img alt="" src="https://img.shields.io/badge/project-open-brightgreen" style="display: inline-block;" /> | 9 | <img alt="" src="https://img.shields.io/badge/project-open-brightgreen" style="display: inline-block;" /> |
| 10 | </p> | 10 | </p> |
| @@ -1,15 +1,29 @@ | |||
| 1 | [dependencies] | 1 | [dependencies] |
| 2 | 2 | ||
| 3 | -[target.x86_64-unknown-linux-gnu] | 3 | +[target] |
| 4 | - [target.x86_64-unknown-linux-gnu.bin-dependencies] | 4 | + [target.aarch64-linux-ohos] |
| 5 | - path-option = ["${CANGJIE_STDX_PATH}/linux_x86_64_llvm/dynamic/stdx"] | 5 | + compile-option = "-B \"${DEVECO_CANGJIE_HOME}/compiler/third_party/llvm/bin\" -B \"${DEVECO_OH_NATIVE_HOME}/sysroot/usr/lib/aarch64-linux-ohos\" -L \"${DEVECO_OH_NATIVE_HOME}/sysroot/usr/lib/aarch64-linux-ohos\" -L \"${DEVECO_OH_NATIVE_HOME}/llvm/lib/clang/15.0.4/lib/aarch64-linux-ohos\" -L \"${DEVECO_OH_NATIVE_HOME}/llvm/lib/aarch64-linux-ohos\" -L \"${DEVECO_CANGJIE_HOME}/build/linux_ohos_aarch64_llvm/openssl\" --sysroot \"${DEVECO_OH_NATIVE_HOME}/sysroot\"" |
| 6 | + [target.aarch64-linux-ohos.bin-dependencies] | ||
| 7 | + path-option = [ "${AARCH64_LIBS}", "${AARCH64_MACRO_LIBS}", "${AARCH64_KIT_LIBS}", "${CANGJIE_STDX_PATH}/linux_ohos_aarch64_cjnative/dynamic/stdx" ] | ||
| 8 | + [target.x86_64-linux-ohos] | ||
| 9 | + compile-option = "-B \"${DEVECO_CANGJIE_HOME}/compiler/third_party/llvm/bin\" -B \"${DEVECO_OH_NATIVE_HOME}/sysroot/usr/lib/x86_64-linux-ohos\" -L \"${DEVECO_OH_NATIVE_HOME}/sysroot/usr/lib/x86_64-linux-ohos\" -L \"${DEVECO_OH_NATIVE_HOME}/llvm/lib/clang/15.0.4/lib/x86_64-linux-ohos\" -L \"${DEVECO_OH_NATIVE_HOME}/llvm/lib/x86_64-linux-ohos\" -L \"${DEVECO_CANGJIE_HOME}/build/linux_ohos_x86_64_llvm/openssl\" --sysroot \"${DEVECO_OH_NATIVE_HOME}/sysroot\"" | ||
| 10 | + [target.x86_64-linux-ohos.bin-dependencies] | ||
| 11 | + path-option = [ "${X86_64_OHOS_LIBS}", "${X86_64_OHOS_MACRO_LIBS}", "${X86_64_OHOS_KIT_LIBS}", "${CANGJIE_STDX_PATH}/linux_ohos_x86_64_cjnative/dynamic/stdx" ] | ||
| 12 | + [target.x86_64-unknown-windows-gnu.bin-dependencies] | ||
| 13 | + path-option = [ "${X86_64_LIBS}", "${X86_64_MACRO_LIBS}", "${CANGJIE_STDX_PATH}/windows_x86_64_cjnative/dynamic/stdx" ] | ||
| 14 | + [target.x86_64-unknown-linux-gnu] | ||
| 15 | + [target.x86_64-unknown-linux-gnu.bin-dependencies] | ||
| 16 | + path-option = [ "${CANGJIE_STDX_PATH}/linux_x86_64_cjnative/dynamic/stdx" ] | ||
| 17 | + [target.x86_64-w64-mingw32] | ||
| 18 | + [target.x86_64-w64-mingw32.bin-dependencies] | ||
| 19 | + path-option = [ "${CANGJIE_STDX_PATH}/windows_x86_64_cjnative/dynamic/stdx" ] | ||
| 6 | 20 | ||
| 7 | [ffi.c] | 21 | [ffi.c] |
| 8 | core = {path = "./lib/"} | 22 | core = {path = "./lib/"} |
| 9 | mymmkv = {path = "./lib/"} | 23 | mymmkv = {path = "./lib/"} |
| 10 | 24 | ||
| 11 | [package] | 25 | [package] |
| 12 | - cjc-version = "1.0.0" | 26 | + cjc-version = "1.1.0" |
| 13 | compile-option = "-O2" | 27 | compile-option = "-O2" |
| 14 | description = "nothing here" | 28 | description = "nothing here" |
| 15 | link-option = "" | 29 | link-option = "" |
| @@ -17,8 +31,5 @@ | |||
| 17 | output-type = "dynamic" | 31 | output-type = "dynamic" |
| 18 | src-dir = "src" | 32 | src-dir = "src" |
| 19 | target-dir = "" | 33 | target-dir = "" |
| 20 | - version = "1.0.3" | 34 | + version = "1.0.4" |
| 21 | package-configuration = {} | 35 | package-configuration = {} |
| 22 | - | ||
| 23 | -[target.aarch64-linux-ohos] | ||
| 24 | - compile-option = "-B \"${DEVECO_CANGJIE_HOME}/compiler/third_party/llvm/bin\" -B \"${DEVECO_CANGJIE_HOME}/musl/usr/lib/aarch64-linux-ohos\" -L \"${DEVECO_CANGJIE_HOME}/musl/usr/lib/aarch64-linux-ohos\" -L \"${DEVECO_CANGJIE_HOME}/build/linux_ohos_aarch64_llvm/openssl\" --sysroot \"${DEVECO_CANGJIE_HOME}/musl\"" | ||