-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from darwinia-network/master
fetch new
- Loading branch information
Showing
42 changed files
with
3,918 additions
and
4,412 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,6 @@ | |
.idea | ||
!node/runtime/wasm/target/wasm32-unknown-unknown/release/*.compact.wasm | ||
|
||
test-client | ||
|
||
.DS_Store |
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,19 @@ | ||
# https://timryan.org/2018/07/27/cross-compiling-linux-binaries-from-macos.html | ||
|
||
# brew tap SergioBenitez/osxct | ||
# brew install x86_64-unknown-linux-gnu | ||
|
||
# Linker for the target platform | ||
# (cc can also be updated using .cargo/config) | ||
export TARGET_CC="x86_64-unknown-linux-gnu-gcc" | ||
|
||
export LINUX_GCC_TARGET_PATH="/usr/local/Cellar/x86_64-unknown-linux-gnu/7.2.0/toolchain/lib/gcc/x86_64-unknown-linux-gnu/7.2.0" | ||
|
||
# Library headers to link against | ||
export TARGET_CFLAGS="-I $LINUX_GCC_TARGET_PATH/include -isystem /usr/local/Cellar/x86_64-unknown-linux-gnu/7.2.0/toolchain/x86_64-unknown-linux-gnu/sysroot/usr/include" | ||
# Libraries (shared objects) to link against | ||
export LD_LIBRARY_PATH="$LINUX_GCC_TARGET_PATH;/usr/local/Cellar/x86_64-unknown-linux-gnu/7.2.0/toolchain/x86_64-unknown-linux-gnu/sysroot/usr/lib" | ||
|
||
# openssl-sys specific build flags | ||
export OPENSSL_DIR="/usr/local/Cellar/openssl/1.0.2r" | ||
export OPENSSL_LIB_DIR="/usr/local/Cellar/openssl/1.0.2r/lib" |
Large diffs are not rendered by default.
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
Oops, something went wrong.