mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 22:25:47 +01:00
all.sh - disable parallelization for shared target tests
Sometimes, when building the shared target with crypto submodule, one could get an "No rule to make target '../crypto/library/libmbedcrypto.so'" error. This is due to two reasons - building in parallel and (probably) an incomplete/incorrect list of dependencies for certain targets. The proposed solution is to disable parallel builds with crypto submodule for now. An issue has been raised here: https://github.com/ARMmbed/mbedtls/issues/2634
This commit is contained in:
parent
9c754a9892
commit
87615770c7
@ -982,7 +982,7 @@ component_test_platform_calloc_macro () {
|
||||
|
||||
component_test_make_shared () {
|
||||
msg "build/test: make shared" # ~ 40s
|
||||
make SHARED=1 all check
|
||||
make SHARED=1 all check -j1
|
||||
}
|
||||
|
||||
component_test_m32_o0 () {
|
||||
@ -1156,8 +1156,8 @@ component_build_mingw () {
|
||||
make WINDOWS_BUILD=1 clean
|
||||
|
||||
msg "build: Windows cross build - mingw64, make (DLL)" # ~ 30s
|
||||
make CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar LD=i686-w64-minggw32-ld CFLAGS='-Werror -Wall -Wextra' WINDOWS_BUILD=1 SHARED=1 lib programs
|
||||
make CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar LD=i686-w64-minggw32-ld CFLAGS='-Werror -Wall -Wextra' WINDOWS_BUILD=1 SHARED=1 tests
|
||||
make CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar LD=i686-w64-minggw32-ld CFLAGS='-Werror -Wall -Wextra' WINDOWS_BUILD=1 SHARED=1 lib programs -j1
|
||||
make CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar LD=i686-w64-minggw32-ld CFLAGS='-Werror -Wall -Wextra' WINDOWS_BUILD=1 SHARED=1 tests -j1
|
||||
make WINDOWS_BUILD=1 clean
|
||||
}
|
||||
support_build_mingw() {
|
||||
|
Loading…
Reference in New Issue
Block a user