2021-08-17 04:42:31 +08:00
function ( vcpkg_find_fortran out_var )
if ( "${ARGC}" GREATER "1" )
message ( WARNING "${CMAKE_CURRENT_FUNCTION} was passed extra args: ${ARGN}" )
endif ( )
vcpkg_list ( SET additional_cmake_args )
2020-08-13 01:28:41 +08:00
set ( CMAKE_BINARY_DIR "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}" )
set ( CMAKE_CURRENT_BINARY_DIR "${CMAKE_BINARY_DIR}" )
set ( CMAKE_PLATFORM_INFO_DIR "${CMAKE_BINARY_DIR}/Platform" )
include ( CMakeDetermineFortranCompiler )
2021-08-17 04:42:31 +08:00
if ( NOT CMAKE_Fortran_COMPILER AND "${VCPKG_CHAINLOAD_TOOLCHAIN_FILE}" STREQUAL "" )
# If a user uses their own VCPKG_CHAINLOAD_TOOLCHAIN_FILE, they _must_ figure out fortran on their own.
2020-08-13 01:28:41 +08:00
if ( WIN32 )
message ( STATUS "No Fortran compiler found on the PATH. Using MinGW gfortran!" )
# If no Fortran compiler is on the path we switch to use gfortan from MinGW within vcpkg
2021-08-17 04:42:31 +08:00
if ( "${VCPKG_TARGET_ARCHITECTURE}" STREQUAL "x86" )
set ( mingw_path mingw32 )
set ( machine_flag -m32 )
vcpkg_acquire_msys ( msys_root
2023-06-13 07:29:54 +08:00
N O _ D E F A U L T _ P A C K A G E S
2020-09-01 13:36:25 +08:00
D I R E C T _ P A C K A G E S
2023-06-13 07:29:54 +08:00
# root package
2023-11-29 14:45:03 +08:00
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 3 2 / m i n g w - w 6 4 - i 6 8 6 - g c c - f o r t r a n - 1 3 . 2 . 0 - 2 - a n y . p k g . t a r . z s t "
4 8 2 0 f b d 4 d 9 2 7 f 8 3 7 8 a 6 e 8 0 1 4 9 6 3 6 4 c 9 b b a 2 e 4 8 5 2 7 a 6 b f f 5 4 7 d 6 d 0 b 8 e 2 4 8 a 7 9 4 f 9 6 0 2 2 0 8 2 7 c f b 9 9 4 4 1 e a f 9 7 3 9 5 a 1 8 a 5 5 7 c d b b 9 a 3 3 7 d c 5 2 f 6 a f 4 4 d 4 b c 3 2 3 9 7 9 1 6 b
2023-06-13 07:29:54 +08:00
# dependencies, alphabetically
2023-11-29 14:45:03 +08:00
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 3 2 / m i n g w - w 6 4 - i 6 8 6 - b i n u t i l s - 2 . 4 1 - 2 - a n y . p k g . t a r . z s t "
2 f 6 7 e 5 c a f 6 d 5 e e 8 9 9 5 7 7 2 8 3 1 b f 6 c f 7 a 8 a 2 4 a 8 2 4 d 3 6 c c 3 c b 0 d 4 c 1 4 7 b b 1 0 2 6 1 b 6 7 f 0 e c 6 1 1 e f 9 d c 6 f 9 f 9 6 4 2 b e 5 9 6 9 7 3 e d 0 4 8 0 2 3 2 2 1 0 1 b 0 5 a f a 8 f 4 1 f c b e 3 f 6 3 b c 1 c 7
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 3 2 / m i n g w - w 6 4 - i 6 8 6 - c r t - g i t - 1 1 . 0 . 0 . r 4 0 4 . g 3 a 1 3 7 b d 8 7 - 1 - a n y . p k g . t a r . z s t "
0 f 9 6 a b 1 2 7 d 9 5 7 9 7 2 8 d 6 0 8 0 5 7 a 9 9 4 0 6 8 2 f d 6 c c f d b 1 5 3 7 5 0 e 8 a 9 b 1 3 2 b a c 8 e e 2 e 8 7 f a 6 a 4 0 6 b 3 8 9 f 3 1 9 e e c 2 c a 7 3 1 7 e 9 7 c 0 d c 6 0 4 f 7 b 1 d 0 6 9 7 b f 0 7 f 9 c 3 f b 5 4 b 2 7 3 2 9 6 6
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 3 2 / m i n g w - w 6 4 - i 6 8 6 - g c c - 1 3 . 2 . 0 - 2 - a n y . p k g . t a r . z s t "
2 6 7 f 8 5 3 8 4 9 3 5 1 2 8 0 a 5 9 4 2 a e 4 9 3 1 d f 4 3 2 6 9 c 6 e a 5 8 f c f 9 0 f c e 7 2 9 7 6 6 1 7 9 d 3 1 8 a e 7 5 f 9 c f 5 4 d a 4 1 9 8 7 e 6 a 5 e 6 f 3 e f 6 a d 0 0 4 5 0 8 5 7 2 2 f 0 1 3 3 6 a a b 9 8 1 b 2 7 5 e c 1 7 a 0 6 0 2 f 2
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 3 2 / m i n g w - w 6 4 - i 6 8 6 - g c c - l i b g f o r t r a n - 1 3 . 2 . 0 - 2 - a n y . p k g . t a r . z s t "
2 0 7 c 7 2 3 3 6 f c f 9 6 5 e 5 2 e 7 3 e a e 8 2 3 b 8 4 0 7 d 0 f f a 5 3 d 8 f 4 e 3 c 5 4 4 b d 4 b f a 8 b d 6 f b 1 7 a 6 4 1 3 0 0 7 d 0 2 d 7 1 e a c 9 1 1 b e e 4 8 7 3 5 a 0 8 8 9 f b e 7 a 5 0 f a 7 4 3 0 7 2 5 f 4 0 1 c a 2 5 5 c a 2 b 0 a 6
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 3 2 / m i n g w - w 6 4 - i 6 8 6 - g c c - l i b s - 1 3 . 2 . 0 - 2 - a n y . p k g . t a r . z s t "
6 d 0 9 c 0 8 6 8 c 9 6 a 5 3 2 d d 1 e 1 d c 9 2 e 2 b 5 e 3 c 5 7 7 6 a f 2 1 b d 1 3 e 6 c 6 d e 9 0 a f c 1 f 7 0 5 0 2 8 5 2 5 5 5 0 b f 9 0 9 c 0 d 8 e 8 0 0 1 7 8 1 9 c d 7 1 a c f e 6 4 f 5 6 8 3 8 d f 3 d 1 3 e 5 7 1 e d 4 a d c 7 b 6 6 b 0 f a e
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 3 2 / m i n g w - w 6 4 - i 6 8 6 - g m p - 6 . 3 . 0 - 2 - a n y . p k g . t a r . z s t "
4 a 9 e 0 a c e 0 5 e a 4 4 1 f e 6 c d 6 9 b 1 b 1 a f 4 c 2 9 e 3 5 7 2 7 0 6 9 a b 1 f 2 2 d 0 d a 7 f e b c 7 a a b a 2 1 9 5 0 2 b 5 b 4 d e a 8 b 1 a a 0 7 0 c b 2 c 8 b 7 3 1 d a 1 1 2 4 2 9 c 3 3 3 9 f d 0 3 f e 7 7 8 2 8 d 9 f a 2 6 2 b 4 a 8 1 8
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 3 2 / m i n g w - w 6 4 - i 6 8 6 - h e a d e r s - g i t - 1 1 . 0 . 0 . r 4 0 4 . g 3 a 1 3 7 b d 8 7 - 1 - a n y . p k g . t a r . z s t "
c 1 7 e 1 6 4 2 d 1 d c 9 e 8 d 9 e c a 9 3 8 3 4 b c d 4 8 c 5 0 5 2 e b e 3 e 5 0 b 2 9 b 3 4 6 9 f d b c 4 8 1 7 8 d a e 6 d d d 8 5 2 6 4 1 c 5 5 c b 1 a 0 5 a 9 5 7 5 7 f 5 4 b a 0 1 f 6 a 1 7 6 f f 5 4 6 f f 9 9 4 c e a e 3 6 e 0 8 b 8 0 c 3 e e 7 9
2023-06-13 07:29:54 +08:00
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 3 2 / m i n g w - w 6 4 - i 6 8 6 - i s l - 0 . 2 6 - 1 - a n y . p k g . t a r . z s t "
2 0 1 1 d e 9 a c 6 e d 8 5 f a 4 3 4 6 f 9 c 9 b 3 9 1 3 6 8 5 4 f 0 4 9 a 9 e 2 1 f b 2 f b d 8 d b 0 6 6 c c f 4 4 3 3 0 1 a 6 5 a b 0 c 7 a a 7 d a e d 6 7 3 0 d 5 1 6 3 c a 7 0 e b f 2 5 f d 3 9 2 0 9 b d 5 2 2 6 f 2 b 7 0 f 0 0 0 c e 9 d e 0 d f 8 d
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 3 2 / m i n g w - w 6 4 - i 6 8 6 - l i b i c o n v - 1 . 1 7 - 3 - a n y . p k g . t a r . z s t "
3 6 e c 4 5 b 3 1 1 a c 0 e 2 8 1 c 5 2 7 2 5 1 6 b 2 1 3 8 3 6 4 b 1 b 1 c 0 d b 7 8 a 8 3 b 2 6 2 1 8 d 5 0 c 6 4 3 3 4 5 f d b 3 f 7 5 b f 4 9 3 5 e 8 5 2 0 d 8 3 9 c 9 9 f 2 e c 4 c b 7 2 a 3 2 4 0 1 7 f 1 1 a 7 1 7 b d a b 0 6 f 8 c 2 4 3 c c b 1 0 8
2023-11-29 14:45:03 +08:00
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 3 2 / m i n g w - w 6 4 - i 6 8 6 - l i b w i n p t h r e a d - g i t - 1 1 . 0 . 0 . r 4 0 4 . g 3 a 1 3 7 b d 8 7 - 1 - a n y . p k g . t a r . z s t "
3 5 6 0 8 8 4 d 4 7 d 0 7 b b a c b 6 4 0 7 7 4 a 3 f 2 9 3 c 8 2 0 4 f 6 5 2 2 7 2 f 4 f 0 0 4 1 f 6 b e 4 e b 3 c 2 0 f 6 a d 4 1 0 2 4 8 8 5 4 3 6 7 b 9 6 6 f e 4 a a 7 d e f a 9 1 8 a f 6 5 4 e 0 f 2 2 e 7 6 5 b 2 9 b 3 1 2 c 8 0 c 9 0 1 b 9 c 2 4 c 2
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 3 2 / m i n g w - w 6 4 - i 6 8 6 - m p c - 1 . 3 . 1 - 2 - a n y . p k g . t a r . z s t "
9 3 6 a c d e d e a 2 0 b 9 8 9 2 f 9 0 e b d b 0 b 7 5 2 5 0 d 1 e d 3 d 6 5 4 8 7 3 1 6 e e 9 8 6 b 8 6 7 2 6 8 3 b 0 1 d 4 e 1 f 2 9 2 2 3 8 7 f 1 8 e a 8 d 6 b e f b 7 1 b f 2 7 3 9 9 5 d 4 9 4 0 f f 5 5 b 6 4 5 d 0 7 9 9 6 c 9 8 b d 5 0 c 9 3 8 2 a e
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 3 2 / m i n g w - w 6 4 - i 6 8 6 - m p f r - 4 . 2 . 1 - 2 - a n y . p k g . t a r . z s t "
0 d e 8 4 2 b 6 c 3 b 6 8 c 0 f 7 4 3 a a 4 d 4 a 0 8 c a 2 c 9 c 3 f 1 a 1 c b 4 2 6 9 5 0 3 6 5 e 8 8 5 a 5 5 a d d 3 9 6 6 e b 5 4 5 a 0 6 3 4 1 7 7 8 5 7 e 0 7 7 5 4 5 a e 9 7 9 5 0 a c d 4 9 6 1 3 7 6 8 b d c 1 3 3 0 5 f 0 8 0 4 1 6 3 7 e 2 7 f 8 f 6
2023-06-13 07:29:54 +08:00
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 3 2 / m i n g w - w 6 4 - i 6 8 6 - w i n d o w s - d e f a u l t - m a n i f e s t - 6 . 4 - 4 - a n y . p k g . t a r . z s t "
1 0 3 f 8 4 3 7 e 1 3 f b 2 a 8 3 9 c 5 e b 8 9 f 4 9 f 5 8 8 8 c 7 1 f 7 9 3 4 7 7 1 c f 3 b 2 d c c a 4 6 d 5 2 0 2 7 7 f e 7 f 7 d 4 8 4 1 c 9 d 4 1 5 b 4 5 4 a 6 a 5 8 1 c 6 d 1 f 8 0 6 d 6 b e 7 f 6 1 4 0 2 7 d f 0 4 8 4 f 2 6 4 2 e f 2 5 6 3 e 8 8 9
2023-11-29 14:45:03 +08:00
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 3 2 / m i n g w - w 6 4 - i 6 8 6 - w i n p t h r e a d s - g i t - 1 1 . 0 . 0 . r 4 0 4 . g 3 a 1 3 7 b d 8 7 - 1 - a n y . p k g . t a r . z s t "
0 9 5 d d 4 7 d 9 7 5 9 9 2 4 7 b 6 d 3 6 9 b c 2 5 1 a 2 e 4 0 2 8 f 0 7 2 d 0 c 0 4 c 6 9 6 4 e 3 0 d b f 7 c 3 b c b f e 3 b c c 2 7 5 7 2 a 9 d 1 0 0 a 2 8 0 b c 1 1 0 6 a b 7 2 1 d b b 1 1 8 9 7 b d 6 4 8 2 f 6 c d 1 f 6 0 3 8 d 9 c 0 7 b e 3 0 a 7 f
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 3 2 / m i n g w - w 6 4 - i 6 8 6 - z l i b - 1 . 3 - 1 - a n y . p k g . t a r . z s t "
7 6 8 6 6 c 1 f 2 e 4 f 7 5 8 9 4 7 3 7 8 4 f 1 d 2 5 9 3 8 a d 5 c 2 a 3 a d c 5 a 2 f 6 3 d 4 4 8 0 5 3 b 4 5 c 4 0 a f 8 3 f 1 f e 6 f 5 a 2 d d 7 9 c a 0 d b c 9 6 c f 9 8 8 6 a 1 4 1 4 1 6 3 b 2 9 8 3 f 8 c 3 2 4 1 2 5 2 f 6 c a 7 9 4 e 8 7 2 4 6 1 f
2023-06-13 07:29:54 +08:00
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 3 2 / m i n g w - w 6 4 - i 6 8 6 - z s t d - 1 . 5 . 5 - 1 - a n y . p k g . t a r . z s t "
4 1 5 b e 9 f 2 e f 7 8 d 7 2 1 0 9 f 5 8 8 8 c 3 1 2 4 8 b 3 2 8 b a 9 6 f 1 e 2 4 7 2 d 4 8 8 b f 4 5 d a 4 f e 9 6 9 8 7 5 e 0 e 3 0 2 0 a 7 7 c e b 1 0 c d 8 8 5 f 5 0 a 1 8 9 5 4 1 0 5 e 0 6 c e 9 d 1 2 2 d 8 c 4 7 d c 9 8 4 8 9 4 4 e a 7 1 a c 4 9 c
2020-09-01 13:36:25 +08:00
)
2021-08-17 04:42:31 +08:00
elseif ( "${VCPKG_TARGET_ARCHITECTURE}" STREQUAL "x64" )
set ( mingw_path mingw64 )
set ( machine_flag -m64 )
vcpkg_acquire_msys ( msys_root
2023-06-13 07:29:54 +08:00
N O _ D E F A U L T _ P A C K A G E S
2020-09-01 13:36:25 +08:00
D I R E C T _ P A C K A G E S
2023-06-13 07:29:54 +08:00
# root package
2023-11-29 14:45:03 +08:00
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - g c c - f o r t r a n - 1 3 . 2 . 0 - 2 - a n y . p k g . t a r . z s t "
2 9 d 4 1 2 2 e 0 7 8 b 6 d 6 b 2 4 6 8 6 8 2 a 9 f a 4 6 d 1 b 6 1 9 6 c b 0 1 4 6 7 3 f 1 a d d b 6 b a 0 9 f 4 f b 9 0 c 6 b 4 d 5 f 9 4 8 6 3 b 3 e 5 9 2 4 f 4 f 5 a 6 d f 3 e 7 4 0 2 4 a e e 1 5 3 4 c 6 7 8 2 f c 5 d 1 0 d e 1 0 2 2 d c f 8 a 3 0 1 2
2023-06-13 07:29:54 +08:00
# dependencies, alphabetically
2023-11-29 14:45:03 +08:00
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - b i n u t i l s - 2 . 4 1 - 2 - a n y . p k g . t a r . z s t "
8 6 f b 9 c 1 8 5 7 c 6 9 6 b 9 3 d 9 5 0 f c 6 3 1 5 6 a a 2 a 6 7 a f 9 d a 1 a e c 1 5 3 2 9 d c c 3 1 8 4 6 b f 4 6 e 6 b c b 1 c 3 9 4 d 2 5 3 8 9 9 c a 2 4 a 2 2 3 e 5 7 1 f 6 0 8 d 2 3 9 7 b 6 1 3 1 c 6 0 c 2 b 7 e 0 a 3 c b b 7 9 e 4 8 f 4 3 f 4 e
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - c r t - g i t - 1 1 . 0 . 0 . r 4 0 4 . g 3 a 1 3 7 b d 8 7 - 1 - a n y . p k g . t a r . z s t "
d 4 6 c e b 9 f 1 0 b 1 4 6 c b a 6 a 9 1 6 c 6 8 4 e 6 e 6 a 5 3 f e 3 6 f 4 b 8 d 8 9 4 b e 2 2 c 9 9 5 8 b b 9 f 0 3 6 8 a 0 9 4 8 2 b 0 8 f 9 7 e 0 a 2 f f c a 0 9 3 9 d c 7 b 8 2 4 4 f 9 a 9 f 3 7 3 2 e 7 a f 7 6 c e 0 0 3 7 e 9 2 e f 7 f 9 6 d 3 8 f
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - g c c - 1 3 . 2 . 0 - 2 - a n y . p k g . t a r . z s t "
1 9 d b 5 d 6 4 d 5 f f e a f d 4 8 2 1 0 6 e f 2 3 b 0 6 8 5 6 f 7 e 6 b 9 b d d 1 1 9 c 3 4 5 d 2 e 8 1 4 8 1 6 d 4 0 9 f 0 d 7 d 9 2 d 3 5 f 2 3 7 e b 1 8 c a 9 6 2 e c 4 9 2 b 1 a 3 d 9 1 1 4 1 2 e c 5 0 e 7 4 4 9 1 7 e d a 1 7 8 3 b 4 e 2 6 0 8 3 f 0
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - g c c - l i b g f o r t r a n - 1 3 . 2 . 0 - 2 - a n y . p k g . t a r . z s t "
2 0 6 e b 7 c 1 9 0 6 0 b 1 3 2 8 6 b e 4 9 6 6 6 1 1 f e 3 0 d 4 c 8 a 3 e 1 7 d f 4 2 a a 9 e b c 5 a 1 8 d a 3 8 4 f 1 6 a d 1 4 9 5 0 4 7 2 1 b 8 9 c 6 1 5 c 3 c d 1 5 7 9 f 6 7 4 4 9 3 2 e a 0 5 7 8 a e 3 c 1 6 4 7 9 4 7 2 d 7 0 c e 1 a 2 4 4 1 e 3 0
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - g c c - l i b s - 1 3 . 2 . 0 - 2 - a n y . p k g . t a r . z s t "
2 8 9 6 5 e c 1 3 c d 1 0 0 6 9 5 5 c 7 1 8 2 5 8 9 d 0 8 9 6 f 9 2 b 7 e b 2 9 c 7 d 4 2 4 3 4 f c d c 9 b 9 3 4 5 0 b 5 1 f 3 2 b 4 c e 2 8 d c 8 3 0 7 0 0 e 3 a a 7 3 5 1 3 3 f a c b 6 d b 6 8 0 8 d b 2 a c 0 f a e 4 9 4 d 6 0 1 c f 3 f 4 a 7 7 3 9 e 2
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - g m p - 6 . 3 . 0 - 2 - a n y . p k g . t a r . z s t "
3 8 a b 1 5 0 0 5 1 d 7 8 7 e 4 4 f 1 c 7 5 b 3 7 0 3 d 6 c 8 d e b 4 2 9 d 2 4 4 a c b 2 a 9 7 3 e e 2 3 2 0 4 3 b 7 0 8 e 6 c 9 e 2 9 a 1 f 9 e 2 8 f 1 2 e 2 4 2 c 1 3 6 d 4 3 3 e 8 e b 5 a 5 1 3 3 a 4 d 9 a c 7 b 8 7 1 5 7 a 9 7 4 9 a 8 d 2 1 5 d 2 f 0
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - h e a d e r s - g i t - 1 1 . 0 . 0 . r 4 0 4 . g 3 a 1 3 7 b d 8 7 - 1 - a n y . p k g . t a r . z s t "
f 5 1 7 6 f f e f 5 6 3 9 a d d 3 6 7 2 3 2 4 d a 2 8 9 b 3 b 2 a 9 a 2 d 5 2 1 6 8 1 9 7 0 0 7 c 9 a c 6 a 3 2 b 4 c 2 6 c 4 7 0 b 2 d c 8 9 4 9 9 3 f 1 1 a a 9 6 3 9 9 b 4 b 9 7 f 9 d 1 c 3 2 d 7 2 7 0 0 2 2 e 0 d c 0 f 6 2 5 1 9 5 d 7 1 c 8 5 0 8 b 0 9
2023-06-13 07:29:54 +08:00
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - i s l - 0 . 2 6 - 1 - a n y . p k g . t a r . z s t "
2 c 7 1 5 b 5 0 8 0 7 e a 2 c 1 3 4 7 8 4 2 1 0 5 5 3 d 0 c 7 2 5 f 8 e e b 1 2 2 1 d 6 4 f 0 5 1 0 c 7 6 f 7 5 3 8 0 9 8 d 8 4 0 0 a c 1 e f 3 2 9 6 5 6 a 2 f c b 0 b d a 2 7 0 f 9 e 1 d 8 2 9 1 7 d 0 0 b 9 b a 1 1 a 9 8 5 c e 6 4 a e 7 c 3 b f 2 4 9 7 7
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - l i b i c o n v - 1 . 1 7 - 3 - a n y . p k g . t a r . z s t "
5 7 2 2 1 1 1 8 a 6 e d 9 7 5 d d d e 3 2 2 e 0 d 3 4 4 8 7 d 4 7 5 2 c 1 8 c 6 2 c 6 1 8 4 e 9 e d 7 7 c a 1 4 f e 0 a 3 a 7 8 a 7 8 a e f e 6 2 8 c d a 3 2 8 5 2 9 4 a 5 5 6 4 d 8 7 c d 0 5 7 c 5 6 f 4 8 6 4 b 1 2 f a 8 5 8 0 d 6 8 b 8 e 8 a 8 0 5 e 1 6
2023-11-29 14:45:03 +08:00
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - l i b w i n p t h r e a d - g i t - 1 1 . 0 . 0 . r 4 0 4 . g 3 a 1 3 7 b d 8 7 - 1 - a n y . p k g . t a r . z s t "
d 8 e 1 0 3 2 f a 8 2 2 8 3 b c 1 a c a b 5 a a 1 2 7 3 a 9 4 f 1 1 c e 4 2 a c 3 4 c 9 c 6 5 6 b 1 1 a c b 2 e 0 6 a 4 0 0 c c 1 5 a 9 f e e 9 f 9 7 d 9 9 f 7 c 1 1 8 0 3 d 6 6 9 4 8 c 6 8 4 0 0 5 1 e f 7 a 6 a 8 d 9 b a 1 d 1 c b 0 d 5 c b 2 6 8 2 c e f
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - m p c - 1 . 3 . 1 - 2 - a n y . p k g . t a r . z s t "
3 f e 1 8 3 d 4 a f 3 b 3 9 3 5 a 4 3 9 4 5 0 2 e a b 7 5 a 8 f 7 b 7 6 9 2 f 5 5 1 f d 4 4 e 5 4 c 6 7 9 3 5 a 4 6 9 1 3 8 8 d 2 3 a 0 2 1 e e 1 1 4 7 f 0 3 4 5 e d 2 7 f f e 8 a 8 d b 3 e 9 e 7 e 3 7 c a f 2 3 4 8 d f 3 4 1 3 e 0 a c d 5 1 9 c 1 2 a 0 c
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - m p f r - 4 . 2 . 1 - 2 - a n y . p k g . t a r . z s t "
0 3 a 7 2 7 e 1 6 2 2 b 0 9 e d 0 b 6 e 0 c b 9 3 a 6 b 1 0 4 0 c 3 1 c 9 5 0 4 c 3 f 1 4 b d 1 a 2 e 1 2 b 8 2 9 3 1 5 3 6 0 9 7 9 6 b c 9 9 8 8 2 3 9 3 b 3 4 3 c 4 d 9 6 e 4 5 f 4 0 2 f 8 4 7 3 1 7 a 3 a 6 5 2 1 2 b 9 7 2 f f 9 6 a 9 6 4 e 5 e 5 2 8 1 5
2023-06-13 07:29:54 +08:00
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - w i n d o w s - d e f a u l t - m a n i f e s t - 6 . 4 - 4 - a n y . p k g . t a r . z s t "
d 7 e 1 e 4 c 7 9 f 6 c 7 d b 3 b d 9 7 3 0 5 f f 8 9 e 4 0 7 a 3 2 d 3 c e 9 f 2 a 1 8 0 8 3 b 9 6 7 4 5 3 8 d 0 1 8 6 5 1 e 8 8 9 e f b 6 f d e f 0 0 c c 7 9 c 7 8 f 8 c 0 7 8 5 2 e a b 6 3 d 7 f c 7 0 5 e 9 5 6 7 b 1 a d 5 6 8 4 f 0 a 7 0 4 a d e a f 3
2023-11-29 14:45:03 +08:00
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - w i n p t h r e a d s - g i t - 1 1 . 0 . 0 . r 4 0 4 . g 3 a 1 3 7 b d 8 7 - 1 - a n y . p k g . t a r . z s t "
5 d 6 3 7 6 0 9 8 7 2 0 4 b a d c 7 4 0 1 a 7 9 a 5 4 3 1 6 2 4 a 5 d 3 c f a f d a a b 5 1 3 c 1 9 4 4 4 5 a 0 6 1 0 9 6 0 9 1 5 e 5 7 1 6 2 f 8 1 6 5 6 0 c c 4 6 b 0 8 8 d e 6 f e 8 a d 6 e 5 0 2 1 b 0 f b 8 e 8 4 6 2 f 8 6 b d 2 8 f 5 0 4 a 0 f 8 0 e e
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - z l i b - 1 . 3 - 1 - a n y . p k g . t a r . z s t "
2 1 1 9 1 e e a d 4 1 3 3 b 5 c 3 2 9 c a 3 e 6 d 1 a 1 b 9 f 7 2 4 6 8 0 d d e a d 1 1 1 f f 1 f 9 f 5 4 4 c 8 4 4 a 8 c 6 6 e d 8 7 3 9 b 1 9 a 9 f 0 2 5 3 f 6 1 c e 1 d 4 0 f e b 0 e 5 3 5 4 c f 6 9 2 e e 5 8 4 0 e 0 0 5 3 8 2 6 9 9 6 d 6 c c 2 a b 5 a
2023-06-13 07:29:54 +08:00
" h t t p s : / / m i r r o r . m s y s 2 . o r g / m i n g w / m i n g w 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - z s t d - 1 . 5 . 5 - 1 - a n y . p k g . t a r . z s t "
b c 0 3 e 3 9 a c 4 8 f 4 0 e 5 3 e 2 c b f f 9 d 4 8 7 7 0 d 8 2 6 7 7 9 3 6 0 8 a a 6 6 9 8 d d d 0 1 3 7 1 8 7 2 5 4 4 e 2 c 0 2 3 f 4 b e 6 8 c 6 3 8 a a 3 4 9 a 4 c 0 0 6 b 6 9 6 7 a c 9 b f 4 5 c e 9 2 7 c f 4 e 4 a 1 5 6 c 3 9 f a 7 c b 8 c 2 7 d 1
2020-09-01 13:36:25 +08:00
)
2020-08-13 01:28:41 +08:00
else ( )
message ( FATAL_ERROR "Unknown architecture '${VCPKG_TARGET_ARCHITECTURE}' for MinGW Fortran build!" )
endif ( )
2020-09-01 13:36:25 +08:00
2021-08-17 04:42:31 +08:00
set ( mingw_bin "${msys_root}/${mingw_path}/bin" )
vcpkg_add_to_path ( PREPEND "${mingw_bin}" )
vcpkg_list ( APPEND additional_cmake_args
- D C M A K E _ G N U t o M S = O N
" - D C M A K E _ F o r t r a n _ C O M P I L E R = $ { m i n g w _ b i n } / g f o r t r a n . e x e "
" - D C M A K E _ C _ C O M P I L E R = $ { m i n g w _ b i n } / g c c . e x e "
" - D C M A K E _ F o r t r a n _ F L A G S _ I N I T : S T R I N G = - m a b i = m s $ { m a c h i n e _ f l a g } $ { V C P K G _ F o r t r a n _ F L A G S } " )
2020-09-01 13:36:25 +08:00
# This is for private use by vcpkg-gfortran
2021-08-17 04:42:31 +08:00
set ( vcpkg_find_fortran_MSYS_ROOT "${msys_root}" PARENT_SCOPE )
2020-08-13 01:28:41 +08:00
set ( VCPKG_USE_INTERNAL_Fortran TRUE PARENT_SCOPE )
set ( VCPKG_POLICY_SKIP_DUMPBIN_CHECKS enabled PARENT_SCOPE )
set ( VCPKG_CHAINLOAD_TOOLCHAIN_FILE "${SCRIPTS}/toolchains/mingw.cmake" PARENT_SCOPE ) # Switching to MinGW toolchain for Fortran
if ( VCPKG_CRT_LINKAGE STREQUAL "static" )
set ( VCPKG_CRT_LINKAGE dynamic PARENT_SCOPE )
message ( STATUS "VCPKG_CRT_LINKAGE linkage for ${PORT} using vcpkg's internal gfortran cannot be static due to linking against MinGW libraries. Forcing dynamic CRT linkage" )
endif ( )
if ( VCPKG_LIBRARY_LINKAGE STREQUAL "static" )
set ( VCPKG_LIBRARY_LINKAGE dynamic PARENT_SCOPE )
message ( STATUS "VCPKG_LIBRARY_LINKAGE linkage for ${PORT} using vcpkg's internal gfortran cannot be static due to linking against MinGW libraries. Forcing dynamic library linkage" )
endif ( )
else ( )
message ( FATAL_ERROR "Unable to find a Fortran compiler using 'CMakeDetermineFortranCompiler'. Please install one (e.g. gfortran) and make it available on the PATH!" )
endif ( )
endif ( )
2021-08-17 04:42:31 +08:00
set ( "${out_var}" "${additional_cmake_args}" PARENT_SCOPE )
2020-09-01 13:36:25 +08:00
endfunction ( )