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
2020-09-01 13:36:25 +08:00
D I R E C T _ P A C K A G E S
2022-01-27 15:02:21 +08:00
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / i 6 8 6 / m i n g w - w 6 4 - i 6 8 6 - g c c - f o r t r a n - 1 1 . 2 . 0 - 8 - a n y . p k g . t a r . z s t "
9 3 3 7 d a f d e b 4 f 5 e a f 4 1 b f 1 3 4 4 1 c 3 4 5 b 9 9 9 d d 0 5 6 1 b 4 f c 7 5 7 a 6 7 b 4 e 3 6 2 c 3 e 0 a f e a 5 8 2 8 c d 6 8 b 3 5 d 2 8 2 3 c 5 4 5 d 7 4 e a 8 1 b 2 c 3 4 b d 1 6 2 4 f 9 7 8 1 7 6 9 0 a 2 9 3 1 f 3 a 8 9 0 b 5 2 7 3 b d
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / i 6 8 6 / 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 1 . 2 . 0 - 8 - a n y . p k g . t a r . z s t "
3 e 6 3 9 6 e b 4 d c b e 7 3 0 b b 6 3 f 4 5 3 4 e 2 5 b 6 5 4 0 0 8 b e 4 9 f 0 e 1 1 3 c f 3 4 c f b 6 4 0 d b a 3 f 6 7 b 5 0 8 a 6 f 5 c 7 8 f 7 a b 1 c c 5 7 6 8 6 9 3 6 e 7 0 9 b c 3 7 a 1 f d b c 2 0 d f 5 e e 1 7 f d 7 0 8 a 2 1 c 1 b 8 4 4 a f 4
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / i 6 8 6 / m i n g w - w 6 4 - i 6 8 6 - g c c - l i b s - 1 1 . 2 . 0 - 8 - a n y . p k g . t a r . z s t "
b d f 2 5 3 b b 6 2 7 c f c 1 0 8 4 0 7 e a 0 d 1 f 5 f c 6 4 3 d a 0 b 2 2 9 a 8 f 7 f c c 3 4 6 f c d f 7 7 0 9 e 0 f f b f 8 d 1 f 7 5 b d e a 7 5 5 1 1 6 c 6 b 3 0 8 3 4 d 1 c 7 6 4 4 9 6 a 2 3 c 0 5 4 6 e f 1 0 4 8 0 7 5 d 3 1 2 1 3 6 c 6 e b e 9 d 9
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / i 6 8 6 / m i n g w - w 6 4 - i 6 8 6 - g m p - 6 . 2 . 1 - 3 - a n y . p k g . t a r . z s t "
1 0 7 8 7 4 4 3 3 8 0 a 8 9 a 3 4 9 1 5 9 6 9 4 6 3 5 4 6 4 5 8 9 9 d a a d 0 7 b c 1 5 9 f f c e e 9 6 2 4 3 c b 5 1 6 3 7 d f b c 1 6 3 d 5 2 7 5 1 f f d 1 4 6 8 2 b 6 6 b e 8 f d 6 5 c 0 3 7 9 c 6 4 2 d f 1 6 1 3 2 f 1 6 a 8 0 7 0 9 c 4 a f 9 2 1 b a c
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / i 6 8 6 / 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 - 9 . 0 . 0 . 6 3 7 3 . 5 b e 8 f c d 8 3 - 1 - a n y . p k g . t a r . z s t "
c 8 9 c 2 7 b 5 a f e 4 c f 5 f d a a a 3 5 4 5 4 4 f 0 7 0 c 4 5 a c e 5 e 9 d 2 f 2 e b b 4 b 9 5 6 a 1 4 8 f 6 1 6 8 1 f 0 5 0 e 6 7 9 7 6 8 9 4 e 6 f 5 2 e 4 2 e 7 0 8 d a d b f 7 3 0 f e e 1 7 6 a c 9 a d d 3 c 9 8 6 4 c 2 1 2 4 9 0 3 4 c 3 4 2 8 1 0
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / i 6 8 6 / 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 - 9 . 0 . 0 . 6 3 7 3 . 5 b e 8 f c d 8 3 - 1 - a n y . p k g . t a r . z s t "
8 5 9 8 0 1 8 3 8 7 9 d a 0 d 0 e a 7 4 b 9 a d 1 f d f b 0 9 e 5 e d 9 d 2 e 2 2 1 2 8 7 7 d 4 7 d 0 f 6 2 1 c e 7 2 1 5 6 6 e 2 0 5 b e 0 b 1 9 1 3 a 6 4 3 d 0 a 9 5 b 2 5 6 4 4 1 e 0 b a f d 8 0 3 f a 9 c 8 4 8 a 8 2 0 3 d f f d 7 d 7 2 1 0 9 e 3 2 c 2
2022-01-14 02:53:06 +08:00
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / i 6 8 6 / m i n g w - w 6 4 - i 6 8 6 - m p c - 1 . 2 . 1 - 1 - a n y . p k g . t a r . z s t "
f 4 c d a 8 3 c 2 6 b f 4 2 2 5 a 8 c 3 8 7 e 0 7 1 0 e a 0 8 6 8 9 6 e 9 c 8 9 e 7 8 6 3 b 9 a 2 9 4 7 9 8 2 6 3 6 6 6 4 b 6 4 f f a 8 8 0 c b d d f e 6 d 8 5 f 8 c f 7 c b 3 b e 1 8 2 9 6 b 0 4 8 7 4 0 2 6 c d f 8 b 1 b 7 0 2 a 2 8 2 0 d a d 1 3 5 b a 4
2022-01-27 15:02:21 +08:00
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / i 6 8 6 / m i n g w - w 6 4 - i 6 8 6 - m p f r - 4 . 1 . 0 . p 1 3 - 1 - a n y . p k g . t a r . z s t "
0 3 8 a 1 c c 6 b b 0 8 0 d 4 1 5 b 9 f c 1 9 9 6 5 a 1 f 1 c 9 4 1 9 f 5 c 4 2 0 2 3 e 2 9 c 8 7 f 9 7 b 4 f 6 3 0 c 1 5 2 6 0 2 a b b 7 0 6 0 3 6 a a 3 e 0 f 0 2 e 3 3 7 e 9 d 7 a b 3 a 4 3 b d 7 b 1 2 3 4 b 3 7 7 5 a 4 3 f f c e b 3 4 8 e 7 9 b a c 1 a
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / i 6 8 6 / m i n g w - w 6 4 - i 6 8 6 - g c c - 1 1 . 2 . 0 - 8 - a n y . p k g . t a r . z s t "
a 6 1 8 3 f 0 f c 8 0 c 2 e 3 7 3 1 6 b 6 e b 6 0 f d b d c c c 3 0 b 8 6 5 0 5 3 d a d 2 7 0 c 9 c 9 6 e 9 3 c d 6 f d b 2 a f 2 8 a 7 5 f 9 8 1 a c 1 d e 2 f d c 2 2 a 4 7 4 9 4 c d b 5 4 b 8 d 4 1 d 4 e c f f d f 1 b 1 d 3 a 5 4 e 8 5 4 3 7 c 2 0 d c f
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / i 6 8 6 / m i n g w - w 6 4 - i 6 8 6 - b i n u t i l s - 2 . 3 7 - 4 - a n y . p k g . t a r . z s t "
1 c 2 f b b 8 b 9 4 7 7 8 c 5 6 2 a e d 0 1 0 1 0 c 0 6 c 8 0 4 d 1 c c 2 c 4 4 6 8 3 7 8 7 9 e 4 f 1 1 8 7 4 7 0 2 5 9 a d a e c d 8 6 6 9 9 b 0 8 4 c 6 9 e 2 5 4 d 9 8 2 0 1 3 3 3 d b 6 9 a 5 5 1 2 6 e a 2 c d 0 c 1 8 8 e 5 5 c 9 a f 8 4 9 c 3 7 3 1 5 a
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / i 6 8 6 / m i n g w - w 6 4 - i 6 8 6 - c r t - g i t - 9 . 0 . 0 . 6 3 7 3 . 5 b e 8 f c d 8 3 - 1 - a n y . p k g . t a r . z s t "
4 9 5 8 3 4 d 7 2 3 1 3 0 2 1 b 7 5 5 3 d 9 2 a 8 9 7 9 3 2 f 5 e f c 6 6 a 0 f 6 f 7 9 e b e e c 5 7 4 e c d 7 d d d 2 3 e 0 e e d 9 a a c b 3 2 6 0 1 0 0 7 6 0 6 a b b 1 0 b 4 4 b a 7 c 7 c 1 c c f 6 d 3 4 3 7 a 4 3 3 8 8 3 9 b 2 d 7 b 1 7 9 2 3 2 7 f 9
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / i 6 8 6 / m i n g w - w 6 4 - i 6 8 6 - h e a d e r s - g i t - 9 . 0 . 0 . 6 3 7 3 . 5 b e 8 f c d 8 3 - 1 - a n y . p k g . t a r . z s t "
7 9 5 9 a e 9 2 6 7 3 0 6 c 8 6 2 b 8 b 2 3 b e 2 a b 2 1 4 9 8 f 6 e 7 8 9 0 c 9 3 6 f e a e 3 e c 9 c f 5 6 0 7 4 3 4 e 8 7 e 4 4 6 f 7 c 7 5 f f 7 b d 9 7 5 f 2 3 a a 2 4 e b 1 c 2 3 d 6 0 6 8 9 5 7 f 6 a f 4 e 8 c 3 5 8 f 5 f 4 8 6 1 d b 6 4 2 4 8 b 8
2021-08-06 07:30:33 +08:00
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / i 6 8 6 / m i n g w - w 6 4 - i 6 8 6 - l i b i c o n v - 1 . 1 6 - 2 - a n y . p k g . t a r . z s t "
2021-08-14 13:37:08 +08:00
f e 4 8 d 0 d 3 c 5 8 2 f e e 1 e d b 1 7 8 4 2 5 c 6 d a f 6 1 9 d 8 6 3 6 2 4 4 2 c 7 2 9 0 4 7 b 3 c 3 5 6 b e 2 6 4 9 1 1 6 4 f 9 2 b e 1 d 8 7 9 5 0 4 2 9 d 2 f a c a 4 e d 3 c f 7 6 c b 4 a a f e f 1 a f 3 c 8 7 b 7 8 0 e e e 8 5 e e 8 5 a 4 b 4 c 5
2020-09-01 13:36:25 +08:00
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / i 6 8 6 / 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 - 3 - a n y . p k g . t a r . x z "
5 b 9 9 a b c 5 5 e a a 7 4 c f 8 5 c a 6 4 a 9 c 9 1 5 4 2 5 5 4 c b 5 c 1 0 9 8 b c 7 1 e f f b a 9 b d 3 6 2 4 2 6 9 4 c f d 3 4 8 5 0 3 f c d 3 5 0 7 f b 9 b a 9 7 4 8 6 1 0 8 c 0 9 2 c 9 2 5 e 2 f 3 8 c d 7 4 4 4 9 3 3 8 6 b 3 d c 9 a b 2 8 b c 5 2 6
2022-01-27 15:02:21 +08:00
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / i 6 8 6 / m i n g w - w 6 4 - i 6 8 6 - z l i b - 1 . 2 . 1 1 - 9 - a n y . p k g . t a r . z s t "
3 e 4 6 1 e 8 3 5 6 4 1 a 2 a 7 5 5 a 4 2 2 2 1 0 1 1 8 7 1 f 8 a 1 e d 5 f a 4 b 6 b 2 3 c 7 4 d b 2 8 6 e 2 9 b b c f a 2 f c d 3 0 d 4 a 7 c 4 1 2 1 6 7 2 8 d f 6 2 c 9 1 3 1 d b c 1 e 5 5 4 7 2 0 d a 6 3 3 e d 6 b 2 b a 3 d 6 f 2 b 6 d 5 d 5 0 a 3 0 0
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / i 6 8 6 / m i n g w - w 6 4 - i 6 8 6 - z s t d - 1 . 5 . 2 - 1 - a n y . p k g . t a r . z s t "
8 e 2 7 9 1 1 a 2 a 5 8 8 4 f a a 9 5 e 1 c 5 5 0 5 8 c a 1 5 f 2 3 3 d 4 3 2 e d 8 a a 6 0 7 b 0 4 a 0 1 9 7 5 8 a a 2 1 f 1 3 5 7 b d 5 d e 5 c e 8 7 0 9 f a 4 7 f 4 f b e d 6 e b 0 0 f d f d 9 4 e 7 e 2 d 8 2 0 2 3 b b c 1 f 1 6 5 3 e 9 5 f 4 3 9 e 0 a
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
2020-09-01 13:36:25 +08:00
D I R E C T _ P A C K A G E S
2022-01-27 15:02:21 +08:00
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / x 8 6 _ 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 1 . 2 . 0 - 8 - a n y . p k g . t a r . z s t "
d 5 6 4 8 3 e 0 9 0 f 8 6 4 1 0 b 8 7 5 2 6 d d a 7 7 7 4 e 0 1 0 d 0 b d 6 b e d a 9 7 e d c a e b 1 d e a d 1 1 2 8 f d 5 a d 8 7 0 b c 7 6 1 a 8 a 1 9 0 7 5 9 c 4 8 d 5 8 c 2 5 2 6 b 6 9 7 5 f b 8 4 9 f 9 c 0 3 a 6 b e 1 9 3 7 4 1 a 0 f d 0 b f 2 8 1 2
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / x 8 6 _ 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 1 . 2 . 0 - 8 - a n y . p k g . t a r . z s t "
8 5 3 7 b 5 5 6 3 3 b c 8 3 d 8 1 d 5 2 8 3 7 8 5 9 0 e 4 1 7 f f e 8 c 2 6 b 6 c 3 2 7 d 8 b 6 d 7 b a 5 0 a 8 b 5 f 4 e 0 9 0 f b e 2 d c 5 0 0 d e b 8 3 4 1 2 0 e d f 2 5 a c 3 c 4 9 3 0 5 5 f 4 d e 2 d c 6 4 b d e 0 6 1 b e 2 3 c e 0 f 6 2 5 a 8 8 9 3
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / x 8 6 _ 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - g c c - l i b s - 1 1 . 2 . 0 - 8 - a n y . p k g . t a r . z s t "
2 4 8 1 f 7 c 8 d b 7 c c a 5 4 9 9 1 1 b c 7 1 7 1 5 a f 8 6 c a 2 8 7 f f e d 6 d 6 7 3 c 9 a 6 c 3 a 4 c 7 9 2 b 6 8 8 9 9 a 1 2 9 d d 9 5 9 2 1 4 a f 7 0 6 7 f 4 3 4 e 7 4 f c 5 1 8 c 4 3 7 4 9 e 7 d 9 2 8 c b d 2 2 3 2 a b 4 f b c 6 5 8 8 0 d a d 9 8
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / x 8 6 _ 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - g m p - 6 . 2 . 1 - 3 - a n y . p k g . t a r . z s t "
d 0 d 4 e d 1 a 0 4 6 b 6 4 f 4 3 7 e 7 2 b b c f 7 2 2 b 3 0 3 1 1 d d e 5 f 5 e 7 6 8 a 5 2 0 1 4 1 4 2 3 f c 0 a 3 1 2 7 b 1 1 6 b d 6 2 c f d 4 b 5 c f 5 c 0 1 a 7 1 e e 0 f 9 c f 6 4 7 9 f c c 3 1 2 7 7 9 0 4 6 5 2 d 8 f 6 d d b f 1 6 e 3 3 e 0 b 7 2
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / x 8 6 _ 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 - 9 . 0 . 0 . 6 3 7 3 . 5 b e 8 f c d 8 3 - 1 - a n y . p k g . t a r . z s t "
a 2 c 9 e 6 0 d 2 3 b 1 3 1 0 a 6 c e c 1 f a d d 2 b 1 5 a 8 c 0 7 2 2 3 f 3 f e 9 0 d 4 1 b 1 5 7 9 e 9 f c 2 7 e e 2 b 0 b 4 0 8 4 5 6 2 9 1 a 5 5 f a d 5 4 a 1 5 6 e 6 a 2 4 7 e f c 2 0 f 6 f c c 2 4 7 c c 5 6 7 e 6 4 f e 1 9 0 9 3 8 a a 3 b 6 7 2 e 9
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / x 8 6 _ 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 - 9 . 0 . 0 . 6 3 7 3 . 5 b e 8 f c d 8 3 - 1 - a n y . p k g . t a r . z s t "
b e 0 3 4 3 3 e 6 0 0 6 1 6 6 e 5 b 4 7 9 4 f 2 a 0 1 7 3 0 c d b 6 c 9 f 1 9 f a 9 6 b d 1 0 a 8 b c 5 0 c f 0 6 a d 3 8 9 c b c 6 6 d 4 4 e a 3 e d a 4 6 f 5 3 c 3 b 2 c 8 9 e 2 f c 8 6 a e c 2 1 a 3 7 2 8 2 8 e 9 5 2 7 b 2 4 4 8 0 c 8 7 e d 8 8 3 4 8 c
2022-01-14 02:53:06 +08:00
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / x 8 6 _ 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - m p c - 1 . 2 . 1 - 1 - a n y . p k g . t a r . z s t "
f 2 c 1 3 7 d b b 0 b 6 f e e a 6 8 d d e 9 7 3 9 c 3 8 b 4 4 d c b 5 7 0 3 2 4 e 3 9 4 7 a d f 9 9 1 0 2 8 e 8 f 6 3 c 9 f f 5 0 a 1 1 f 4 7 b e 1 5 b 9 0 2 7 9 f f 4 0 b c a c 7 f 3 2 0 d 9 5 2 c f c 1 4 e 6 9 b a 8 d 0 2 c f 8 1 9 0 c 8 4 8 d 9 7 6 a 1
2022-01-27 15:02:21 +08:00
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / x 8 6 _ 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - m p f r - 4 . 1 . 0 . p 1 3 - 1 - a n y . p k g . t a r . z s t "
a 1 4 2 5 1 6 9 c 1 5 7 0 d b d 7 3 6 c 3 1 d 5 0 b e d f a b 8 8 6 3 6 b f 9 5 6 5 3 7 6 e 2 d a 5 6 6 b e 6 7 f c c 7 7 1 e 6 c 7 6 f 9 5 8 9 5 f 3 8 2 d 8 1 0 9 7 e 7 c 0 5 8 0 a c b 4 2 a a 4 9 e 3 4 d e c 5 d 7 a 8 6 8 d 7 3 a 5 d c 6 a 7 4 6 1 c 9 5
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / x 8 6 _ 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - g c c - 1 1 . 2 . 0 - 8 - a n y . p k g . t a r . z s t "
2 6 a b 2 c a b 6 8 4 2 0 6 9 7 8 a 2 5 4 f 1 e 1 5 9 5 b 1 c e 6 8 8 e 6 d b 1 2 e 5 7 e d 1 d 2 4 3 a 5 f 1 b 3 b 2 1 b 3 1 4 f 6 4 0 c 7 c 6 f e 9 0 e e d c c b 6 b 9 7 8 8 e 1 8 8 6 4 1 5 c a 3 2 9 0 d 0 3 b 1 e 7 1 f 6 7 f 8 a 9 9 1 0 8 0 6 8 3 3 6 a
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / x 8 6 _ 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - b i n u t i l s - 2 . 3 7 - 4 - a n y . p k g . t a r . z s t "
f 0 9 e a 7 0 8 1 0 f b 3 3 7 d 7 f 3 e c 6 7 3 3 4 2 a b 9 0 d f 5 1 1 e 6 a f 4 5 1 e 2 7 3 f e 8 8 f e 4 1 a 2 f 3 0 b d 9 7 2 b 7 9 c 8 3 0 b 6 1 b b 5 3 8 8 7 4 3 d 0 0 a 0 b a 7 8 8 5 5 0 3 e 1 4 3 9 8 7 4 1 3 d b 5 1 7 0 c 4 b e f f f e f 6 6 3 0 3
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / x 8 6 _ 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - c r t - g i t - 9 . 0 . 0 . 6 3 7 3 . 5 b e 8 f c d 8 3 - 1 - a n y . p k g . t a r . z s t "
6 3 d 0 8 1 f e d d 1 f 7 0 e 8 d 5 8 6 7 0 d 4 d 0 6 9 8 5 3 5 a 6 7 f 0 4 c 3 1 c a f 0 2 d 0 b 2 3 0 2 6 a c 2 3 f c 5 0 6 4 e 9 4 2 3 d 7 3 c 7 9 8 5 4 b b c e 4 1 c c 9 9 d d 0 b 7 0 e 4 1 3 7 a f 3 a 6 0 9 e 0 5 c d d 8 6 7 f d c e a 1 2 0 d 3 5 6 e
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / x 8 6 _ 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 - 9 . 0 . 0 . 6 3 7 3 . 5 b e 8 f c d 8 3 - 1 - a n y . p k g . t a r . z s t "
0 5 8 6 0 f 2 b c f a c f 5 4 0 8 9 b 7 5 0 0 9 9 f 9 d d c 5 2 d 9 b 4 b 8 a e 8 f 6 9 0 2 8 a 1 9 8 d f b 5 1 f a b 0 9 c 3 7 a 9 4 1 a e 5 5 1 e 5 d 3 6 1 a 2 a 1 1 3 0 2 d 4 8 b d 4 f a 9 5 c 4 4 1 3 1 d d e e 4 c 1 d f 5 a 1 4 f 2 8 0 1 3 3 9 8 f 6 3
2021-08-06 07:30:33 +08:00
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / x 8 6 _ 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 6 - 2 - a n y . p k g . t a r . z s t "
5 4 2 e d 5 d 8 9 8 a 5 7 a 7 9 d 3 5 2 3 4 5 8 f 8 f 3 4 0 9 6 6 9 b 4 1 1 f 8 7 d 0 8 5 2 b b 5 6 6 d 6 6 f 7 5 c 9 6 4 2 2 4 3 3 f 7 0 6 2 8 3 1 4 3 3 8 9 9 3 4 6 1 b c b 1 9 d 4 b f a c 4 d a d d 9 d 2 1 3 9 0 c b 4 d 9 5 e f 0 4 4 5 6 6 9 2 8 8 6 5 8
2020-09-01 13:36:25 +08:00
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / x 8 6 _ 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 - 3 - a n y . p k g . t a r . x z "
7 7 d 0 2 1 2 1 4 1 6 e 4 2 f f 3 2 a 7 0 2 e 2 1 2 6 6 c e 9 0 3 1 b 4 d 8 f c 9 e c d b 5 d c 0 4 9 d 9 2 5 7 0 b 6 5 8 b 3 0 9 9 b 6 5 d 1 6 7 c a 1 5 6 3 6 7 d 1 7 a 7 6 e 5 3 e 1 7 2 c a 5 2 d 4 6 8 e 4 4 0 c 2 c d f d 1 4 7 0 1 d a 2 1 0 f f e a 3 7
2022-01-27 15:02:21 +08:00
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / x 8 6 _ 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - z l i b - 1 . 2 . 1 1 - 9 - a n y . p k g . t a r . z s t "
f 3 8 6 d 3 a 8 d 8 c 1 6 9 a 6 2 a 4 5 8 0 a f 0 7 4 b 7 f d c 0 7 6 0 e f 0 f d e 2 2 e f 7 0 2 0 a 3 4 9 3 8 2 d d 3 7 4 a 9 e 9 4 6 6 0 6 c 7 5 7 d 1 2 d a 1 c 1 f e 6 8 b a f 5 e 2 e a f 4 5 9 4 4 6 e 6 5 3 4 7 7 0 3 5 a 6 3 e 0 e 2 0 d f 8 f 4 a a 0
" h t t p s : / / r e p o . m s y s 2 . o r g / m i n g w / x 8 6 _ 6 4 / m i n g w - w 6 4 - x 8 6 _ 6 4 - z s t d - 1 . 5 . 2 - 1 - a n y . p k g . t a r . z s t "
3 8 e c 5 c a 9 9 c 5 b 9 5 5 b f 8 a 8 9 2 a 3 e d a f 4 e 1 8 5 7 2 9 7 7 7 3 6 8 0 9 b 7 6 7 1 c 5 5 4 5 2 6 b 1 3 c b 4 e 5 3 d 4 5 c 5 b 8 3 e 3 7 e 0 f b 7 6 2 8 4 8 3 b a 9 8 8 3 1 b 3 2 0 3 e 3 e 4 0 4 d a c 7 2 0 d 5 b 2 e d 9 5 c f e 4 5 0 5 c 4
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 ( )