diff --git a/script/linux_build.sh b/script/linux_build.sh index 79c87de1..369f56f8 100755 --- a/script/linux_build.sh +++ b/script/linux_build.sh @@ -1,5 +1,5 @@ # 1. clone MNN -git clone https://github.com/alibaba/MNN.git -b 2.6.3 --depth=1 +git clone https://github.com/alibaba/MNN.git -b 2.7.1 --depth=1 # 2. build MNN cd MNN diff --git a/script/macos_build.sh b/script/macos_build.sh index c8564913..47b48d41 100755 --- a/script/macos_build.sh +++ b/script/macos_build.sh @@ -1,5 +1,5 @@ # 1. clone MNN -git clone https://github.com/alibaba/MNN.git -b 2.6.3 --depth=1 +git clone https://github.com/alibaba/MNN.git -b 2.7.1 --depth=1 # 2. build MNN cd MNN diff --git a/script/windows_build.ps1 b/script/windows_build.ps1 index e2ab65d2..3a6ab075 100644 --- a/script/windows_build.ps1 +++ b/script/windows_build.ps1 @@ -1,13 +1,12 @@ # 1. clone MNN -git clone https://github.com/alibaba/MNN.git -b 2.6.3 --depth=1 +git clone https://github.com/alibaba/MNN.git -b 2.7.1 --depth=1 # 2. build MNN cd MNN mkdir build cd build -# cmake -DMNN_LOW_MEMORY=ON .. -cmake .. -cmake --build . -j 4 +cmake -DMNN_LOW_MEMORY=ON -DMNN_WIN_RUNTIME_MT=ON .. +cmake --build . --config Release -j 4 cd ../.. # 3. copy headers and libs @@ -24,5 +23,5 @@ cp .\pthreads\Pre-built.2\include\*.h .\include\ mkdir build cd build cmake .. -cmake --build . -j 4 +cmake --build . --config Release -j 4 cd .. \ No newline at end of file