From 2e4a6d94dfd14617f02f21ae6320db80f4dc4b8d Mon Sep 17 00:00:00 2001 From: xiaoyaofenfen <1254525673@qq.com> Date: Mon, 31 Oct 2022 17:13:32 +0800 Subject: [PATCH] modify mips build script #182 --- build.sh | 39 +++++++++++++++++++++++++-------------- 1 file changed, 25 insertions(+), 14 deletions(-) diff --git a/build.sh b/build.sh index bf577b4..d282dde 100755 --- a/build.sh +++ b/build.sh @@ -94,45 +94,56 @@ RicePack() { return # 已取消web功能 } -# Android +############### Android ############### 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/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/x86_64-linux-android/bin/clang AndroidBuild $name-$version"-android-api21-amd64" android amd64 7 -# iOS +############### iOS ############### IOSBuild $name-$version"-ios-arm64" -# OS X / macOS +############### macOS ############### Build $name-$version"-darwin-macos-amd64" darwin amd64 # Build $name-$version"-darwin-macos-386" darwin 386 Build $name-$version"-darwin-macos-arm64" darwin arm64 -# Windows +############### Windows ############### Build $name-$version"-windows-x86" windows 386 Build $name-$version"-windows-x64" windows amd64 Build $name-$version"-windows-arm" windows arm -# Linux +############### Linux ############### +# x64/x86 Build $name-$version"-linux-386" linux 386 Build $name-$version"-linux-amd64" linux amd64 + +# arm Build $name-$version"-linux-armv5" linux arm 5 Build $name-$version"-linux-armv7" linux arm 7 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 -# Build $name-$version"-solaris-amd64" solaris amd64 +# mips +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-amd64" freebsd amd64 # 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-amd64" netbsd amd64 # Build $name-$version"-netbsd-arm" netbsd arm