Skip to content

Commit 94cba11

Browse files
committed
build-release: enable OpenMP on MinGW, also copy libgomp from MinGW
1 parent ef8e690 commit 94cba11

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

build-release

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,8 @@ build () {
539539

540540
if "${system_windows}"
541541
then
542+
cmake_opts="${cmake_opts} -DUSE_OPENMP=ON"
543+
542544
if "${arch_i686}"
543545
then
544546
engine_file_list="${engine_file_list} nacl_loader-amd64.exe irt_core-amd64.nexe" # WOW64 support
@@ -547,7 +549,7 @@ build () {
547549
special_dll='libgcc_s_seh-1.dll'
548550
fi
549551

550-
extra_dll_list="${special_dll} libstdc++-6.dll libwinpthread-1.dll libssp-0.dll"
552+
extra_dll_list="${special_dll} libgomp-1.dll libstdc++-6.dll libwinpthread-1.dll libssp-0.dll"
551553
# DLLs are added to engine_file_list after building
552554
engine_file_list="${engine_file_list} daemon.exe daemonded.exe daemon-tty.exe crash_server.exe nacl_loader.exe"
553555
engine_symbolize_list='daemon.exe daemonded.exe daemon-tty.exe'

0 commit comments

Comments
 (0)