mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 21:44:51 +00:00

- linux: introduce io_uring support https://github.com/libuv/libuv/pull/3952 - src: add new metrics APIs https://github.com/libuv/libuv/pull/3749 - unix,win: give thread pool threads an 8 MB stack https://github.com/libuv/libuv/pull/3787 - win,unix: change execution order of timers https://github.com/libuv/libuv/pull/3927 Fixes: https://github.com/nodejs/node/issues/43931 Fixes: https://github.com/nodejs/node/issues/42496 Fixes: https://github.com/nodejs/node/issues/47715 Fixes: https://github.com/nodejs/node/issues/47259 Fixes: https://github.com/nodejs/node/issues/47241 PR-URL: https://github.com/nodejs/node/pull/48078 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
18 lines
554 B
CMake
18 lines
554 B
CMake
if(NOT HOST_ARCH)
|
|
message(SEND_ERROR "-DHOST_ARCH required to be specified")
|
|
endif()
|
|
|
|
list(APPEND CMAKE_TRY_COMPILE_PLATFORM_VARIABLES
|
|
HOST_ARCH
|
|
)
|
|
|
|
SET(CMAKE_SYSTEM_NAME Windows)
|
|
set(COMPILER_PREFIX "${HOST_ARCH}-w64-mingw32")
|
|
find_program(CMAKE_RC_COMPILER NAMES ${COMPILER_PREFIX}-windres)
|
|
find_program(CMAKE_C_COMPILER NAMES ${COMPILER_PREFIX}-gcc)
|
|
find_program(CMAKE_CXX_COMPILER NAMES ${COMPILER_PREFIX}-g++)
|
|
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|