-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* harmony * test * test * upgrade depenencies for solve nightly build error * remove unused code * README.md * move to stretch * refacor config * harmony stretch * force update git
- Loading branch information
Showing
60 changed files
with
1,263 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
GaiaXJSiOS/GaiaXJS.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
This file was deleted.
Oops, something went wrong.
67 changes: 0 additions & 67 deletions
67
GaiaXJSiOS/GaiaXJS.xcodeproj/xcshareddata/xcschemes/GaiaXJS.xcscheme
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[package] | ||
name = "harmony-stretch" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[lib] | ||
name = "stretch" | ||
crate-type = ["cdylib"] | ||
|
||
[dependencies] | ||
# https://docs.rs/libc/latest/libc/ | ||
libc = "0.2.151" | ||
stretch = { path = "../.." } | ||
|
||
[workspace] | ||
members = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cp config ~/.cargo/config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
|
||
cp ./config ~/.cargo/config | ||
|
||
cargo +nightly build -Z build-std --target x86_64-unknown-linux-ohos | ||
cargo +nightly build -Z build-std --target armv7-unknown-linux-ohos | ||
cargo +nightly build -Z build-std --target aarch64-unknown-linux-ohos | ||
|
||
cargo +nightly build -Z build-std --target x86_64-unknown-linux-ohos --release | ||
cargo +nightly build -Z build-std --target armv7-unknown-linux-ohos --release | ||
cargo +nightly build -Z build-std --target aarch64-unknown-linux-ohos --release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[target.aarch64-linux-android] | ||
ar = "/Users/biezhihua/Software/RUST_NDK/arm64/bin/aarch64-linux-android-ar" | ||
linker = "/Users/biezhihua/Software/RUST_NDK/arm64/bin/aarch64-linux-android-clang" | ||
|
||
[target.armv7-linux-androideabi] | ||
ar = "/Users/biezhihua/Software/RUST_NDK/arm/bin/arm-linux-androideabi-ar" | ||
linker = "/Users/biezhihua/Software/RUST_NDK/arm/bin/arm-linux-androideabi-clang" | ||
|
||
[target.i686-linux-android] | ||
ar = "/Users/biezhihua/Software/RUST_NDK/x86/bin/i686-linux-android-ar" | ||
linker = "/Users/biezhihua/Software/RUST_NDK/x86/bin/i686-linux-android-clang" | ||
|
||
[target.aarch64-unknown-linux-ohos] | ||
linker = "/Users/biezhihua/WorkSpace/YKGAIAX/GaiaX/GaiaXStretch/bindings/harmony/cross-compile-config/aarch64-unknown-linux-ohos-clang.sh" | ||
ar = "/Users/biezhihua/Software/OpenHarmony/Sdk/10/native/llvm/bin/llvm-ar" | ||
|
||
[target.armv7-unknown-linux-ohos] | ||
linker = "/Users/biezhihua/WorkSpace/YKGAIAX/GaiaX/GaiaXStretch/bindings/harmony/cross-compile-config/armv7-unknown-linux-ohos-clang.sh" | ||
ar = "/Users/biezhihua/Software/OpenHarmony/Sdk/10/native/llvm/bin/llvm-ar" | ||
|
||
[target.x86_64-unknown-linux-ohos] | ||
linker = "/Users/biezhihua/WorkSpace/YKGAIAX/GaiaX/GaiaXStretch/bindings/harmony/cross-compile-config/x86_64-unknown-linux-ohos-clang.sh" | ||
ar = "/Users/biezhihua/Software/OpenHarmony/Sdk/10/native/llvm/bin/llvm-ar" |
6 changes: 6 additions & 0 deletions
6
GaiaXStretch/bindings/harmony/cross-compile-config/aarch64-unknown-linux-ohos-clang++.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
exec /Users/biezhihua/Software/OpenHarmony/Sdk/10/native/llvm/bin/clang++ \ | ||
-target aarch64-linux-ohos \ | ||
--sysroot=/Users/biezhihua/Software/OpenHarmony/Sdk/10/native/sysroot \ | ||
-D__MUSL__ \ | ||
"$@" |
6 changes: 6 additions & 0 deletions
6
GaiaXStretch/bindings/harmony/cross-compile-config/aarch64-unknown-linux-ohos-clang.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
exec /Users/biezhihua/Software/OpenHarmony/Sdk/10/native/llvm/bin/clang \ | ||
-target aarch64-linux-ohos \ | ||
--sysroot=/Users/biezhihua/Software/OpenHarmony/Sdk/10/native/sysroot \ | ||
-D__MUSL__ \ | ||
"$@" |
11 changes: 11 additions & 0 deletions
11
GaiaXStretch/bindings/harmony/cross-compile-config/armv7-unknown-linux-ohos-clang++.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
exec /Users/biezhihua/Software/OpenHarmony/Sdk/10/native/llvm/bin/clang++ \ | ||
-target arm-linux-ohos \ | ||
--sysroot=/Users/biezhihua/Software/OpenHarmony/Sdk/10/native/sysroot \ | ||
-D__MUSL__ \ | ||
-march=armv7-a \ | ||
-mfloat-abi=softfp \ | ||
-mtune=generic-armv7-a \ | ||
-mthumb \ | ||
"$@" | ||
|
10 changes: 10 additions & 0 deletions
10
GaiaXStretch/bindings/harmony/cross-compile-config/armv7-unknown-linux-ohos-clang.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
exec /Users/biezhihua/Software/OpenHarmony/Sdk/10/native/llvm/bin/clang \ | ||
-target arm-linux-ohos \ | ||
--sysroot=/Users/biezhihua/Software/OpenHarmony/Sdk/10/native/sysroot \ | ||
-D__MUSL__ \ | ||
-march=armv7-a \ | ||
-mfloat-abi=softfp \ | ||
-mtune=generic-armv7-a \ | ||
-mthumb \ | ||
"$@" |
6 changes: 6 additions & 0 deletions
6
GaiaXStretch/bindings/harmony/cross-compile-config/x86_64-unknown-linux-ohos-clang++.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
exec /Users/biezhihua/Software/OpenHarmony/Sdk/10/native/llvm/bin/clang++ \ | ||
-target x86_64-linux-ohos \ | ||
--sysroot=/Users/biezhihua/Software/OpenHarmony/Sdk/10/native/sysroot \ | ||
-D__MUSL__ \ | ||
"$@" |
6 changes: 6 additions & 0 deletions
6
GaiaXStretch/bindings/harmony/cross-compile-config/x86_64-unknown-linux-ohos-clang.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
exec /Users/biezhihua/Software/OpenHarmony/Sdk/10/native/llvm/bin/clang \ | ||
-target x86_64-linux-ohos \ | ||
--sysroot=/Users/biezhihua/Software/OpenHarmony/Sdk/10/native/sysroot \ | ||
-D__MUSL__ \ | ||
"$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
max_width = 120 | ||
use_field_init_shorthand = true | ||
use_small_heuristics = "Max" |
Oops, something went wrong.