mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-02-02 21:27:15 +08:00
modify mips build script #182
This commit is contained in:
parent
bf91a47009
commit
2e4a6d94df
39
build.sh
39
build.sh
@ -94,45 +94,56 @@ RicePack() {
|
|||||||
return # 已取消web功能
|
return # 已取消web功能
|
||||||
}
|
}
|
||||||
|
|
||||||
# Android
|
############### Android ###############
|
||||||
export ANDROID_NDK_ROOT=/Users/tickstep/Applications/android_ndk/android-ndk-r23-darwin
|
export ANDROID_NDK_ROOT=/Users/tickstep/Applications/android_ndk/android-ndk-r23-darwin
|
||||||
CC=$ANDROID_NDK_ROOT/bin/arm-linux-androideabi/bin/clang AndroidBuild $name-$version"-android-api16-armv7" android arm 7
|
CC=$ANDROID_NDK_ROOT/bin/arm-linux-androideabi/bin/clang AndroidBuild $name-$version"-android-api16-armv7" android arm 7
|
||||||
CC=$ANDROID_NDK_ROOT/bin/aarch64-linux-android/bin/clang AndroidBuild $name-$version"-android-api21-arm64" android arm64 7
|
CC=$ANDROID_NDK_ROOT/bin/aarch64-linux-android/bin/clang AndroidBuild $name-$version"-android-api21-arm64" android arm64 7
|
||||||
CC=$ANDROID_NDK_ROOT/bin/i686-linux-android/bin/clang AndroidBuild $name-$version"-android-api16-386" android 386 7
|
CC=$ANDROID_NDK_ROOT/bin/i686-linux-android/bin/clang AndroidBuild $name-$version"-android-api16-386" android 386 7
|
||||||
CC=$ANDROID_NDK_ROOT/bin/x86_64-linux-android/bin/clang AndroidBuild $name-$version"-android-api21-amd64" android amd64 7
|
CC=$ANDROID_NDK_ROOT/bin/x86_64-linux-android/bin/clang AndroidBuild $name-$version"-android-api21-amd64" android amd64 7
|
||||||
|
|
||||||
# iOS
|
############### iOS ###############
|
||||||
IOSBuild $name-$version"-ios-arm64"
|
IOSBuild $name-$version"-ios-arm64"
|
||||||
|
|
||||||
# OS X / macOS
|
############### macOS ###############
|
||||||
Build $name-$version"-darwin-macos-amd64" darwin amd64
|
Build $name-$version"-darwin-macos-amd64" darwin amd64
|
||||||
# Build $name-$version"-darwin-macos-386" darwin 386
|
# Build $name-$version"-darwin-macos-386" darwin 386
|
||||||
Build $name-$version"-darwin-macos-arm64" darwin arm64
|
Build $name-$version"-darwin-macos-arm64" darwin arm64
|
||||||
|
|
||||||
# Windows
|
############### Windows ###############
|
||||||
Build $name-$version"-windows-x86" windows 386
|
Build $name-$version"-windows-x86" windows 386
|
||||||
Build $name-$version"-windows-x64" windows amd64
|
Build $name-$version"-windows-x64" windows amd64
|
||||||
Build $name-$version"-windows-arm" windows arm
|
Build $name-$version"-windows-arm" windows arm
|
||||||
|
|
||||||
# Linux
|
############### Linux ###############
|
||||||
|
# x64/x86
|
||||||
Build $name-$version"-linux-386" linux 386
|
Build $name-$version"-linux-386" linux 386
|
||||||
Build $name-$version"-linux-amd64" linux amd64
|
Build $name-$version"-linux-amd64" linux amd64
|
||||||
|
|
||||||
|
# arm
|
||||||
Build $name-$version"-linux-armv5" linux arm 5
|
Build $name-$version"-linux-armv5" linux arm 5
|
||||||
Build $name-$version"-linux-armv7" linux arm 7
|
Build $name-$version"-linux-armv7" linux arm 7
|
||||||
Build $name-$version"-linux-arm64" linux arm64
|
Build $name-$version"-linux-arm64" linux arm64
|
||||||
GOMIPS=softfloat Build $name-$version"-linux-mips" linux mips
|
|
||||||
Build $name-$version"-linux-mips64" linux mips64
|
|
||||||
GOMIPS=softfloat Build $name-$version"-linux-mipsle" linux mipsle
|
|
||||||
Build $name-$version"-linux-mips64le" linux mips64le
|
|
||||||
# Build $name-$version"-linux-ppc64" linux ppc64
|
|
||||||
# Build $name-$version"-linux-ppc64le" linux ppc64le
|
|
||||||
# Build $name-$version"-linux-s390x" linux s390x
|
|
||||||
|
|
||||||
# Others
|
# mips
|
||||||
# Build $name-$version"-solaris-amd64" solaris amd64
|
GOMIPS=softfloat Build $name-$version"-linux-mips64" linux mips64
|
||||||
|
GOMIPS=softfloat Build $name-$version"-linux-mips64le" linux mips64le
|
||||||
|
GOMIPS=hardfloat Build $name-$version"-linux-mips64hf" linux mips64
|
||||||
|
GOMIPS=hardfloat Build $name-$version"-linux-mips64lehf" linux mips64le
|
||||||
|
GOMIPS=softfloat Build $name-$version"-linux-mips" linux mips
|
||||||
|
GOMIPS=softfloat Build $name-$version"-linux-mipsle" linux mipsle
|
||||||
|
GOMIPS=hardfloat Build $name-$version"-linux-mipshf" linux mips
|
||||||
|
GOMIPS=hardfloat Build $name-$version"-linux-mipslehf" linux mipsle
|
||||||
|
|
||||||
|
# freebsd
|
||||||
Build $name-$version"-freebsd-386" freebsd 386
|
Build $name-$version"-freebsd-386" freebsd 386
|
||||||
Build $name-$version"-freebsd-amd64" freebsd amd64
|
Build $name-$version"-freebsd-amd64" freebsd amd64
|
||||||
# Build $name-$version"-freebsd-arm" freebsd arm
|
# Build $name-$version"-freebsd-arm" freebsd arm
|
||||||
|
|
||||||
|
# Others
|
||||||
|
# Build $name-$version"-linux-ppc64" linux ppc64
|
||||||
|
# Build $name-$version"-linux-ppc64le" linux ppc64le
|
||||||
|
# Build $name-$version"-linux-s390x" linux s390x
|
||||||
|
# Build $name-$version"-solaris-amd64" solaris amd64
|
||||||
# Build $name-$version"-netbsd-386" netbsd 386
|
# Build $name-$version"-netbsd-386" netbsd 386
|
||||||
# Build $name-$version"-netbsd-amd64" netbsd amd64
|
# Build $name-$version"-netbsd-amd64" netbsd amd64
|
||||||
# Build $name-$version"-netbsd-arm" netbsd arm
|
# Build $name-$version"-netbsd-arm" netbsd arm
|
||||||
|
Loading…
Reference in New Issue
Block a user