2020-12-01 13:37:26 -08:00
#[===[.md:
# vcpkg_find_fortran
C h e c k s i f a F o r t r a n c o m p i l e r c a n b e f o u n d .
Windows ( x86/x64 ) O n l y : I f n o t i t w i l l s w i t c h / e n a b l e M i n G W g f o r t r a n
a n d r e t u r n r e q u i r e d c m a k e a r g s f o r b u i l d i n g .
## Usage
` ` ` c m a k e
vcpkg_find_fortran ( <additional_cmake_args_out> )
` ` `
#]===]
2020-08-12 19:28:41 +02:00
function ( vcpkg_find_fortran additional_cmake_args_out )
set ( ARGS_OUT )
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 )
if ( NOT CMAKE_Fortran_COMPILER AND NOT VCPKG_CHAINLOAD_TOOLCHAIN_FILE )
# This intentionally breaks users with a custom toolchain which do not have a Fortran compiler setup
# because they either need to use a port-overlay (for e.g. lapack), remove the toolchain for the port using fortran
# or setup fortran in their VCPKG_CHAINLOAD_TOOLCHAIN_FILE themselfs!
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
if ( VCPKG_TARGET_ARCHITECTURE STREQUAL "x86" )
set ( MINGW_PATH mingw32 )
set ( MACHINE_FLAG -m32 )
2020-08-31 22:36:25 -07:00
vcpkg_acquire_msys ( MSYS_ROOT
D I R E C T _ P A C K A G E S
" 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 0 . 2 . 0 - 1 - a n y . p k g . t a r . z s t "
d d b d a f 9 e a 8 6 5 1 8 1 e 1 6 a 0 9 3 1 b 2 e c 8 8 c 2 d c e f 8 a d d 3 4 6 2 8 e 4 7 9 c 7 b 9 d e 4 f a 2 c c b 2 2 e 0 9 c 7 2 3 9 4 4 2 e 5 8 7 0 2 e 0 a c d 3 a d a b c 9 2 0 5 6 5 e 9 7 6 9 8 4 f 2 b c d 9 0 a 3 6 6 8 b f 7 f 4 8 a 2 4 5 f 1
" 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 0 . 2 . 0 - 1 - a n y . p k g . t a r . z s t "
1 5 0 f 3 5 5 0 8 5 f c f 4 c 5 4 e 8 b c e 8 f 7 f 0 8 b 9 0 f e a 9 c a 7 e 1 f 3 2 c f f 0 a 2 e 4 9 5 f a a 6 3 c f 7 7 2 3 f 4 b f 9 3 5 f 0 f 4 e c 7 7 c 8 d d 2 b a 7 1 0 c e a e d 8 8 6 9 4 c b 3 d a 7 1 d e f 5 e 2 0 8 8 d d 6 5 e 1 3 c 9 b 0 0 2
" 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 0 . 2 . 0 - 1 - a n y . p k g . t a r . z s t "
1 1 3 d 8 b 3 b 1 5 5 e a 5 3 7 b e 8 b 9 9 6 8 8 d 4 5 4 f 7 8 1 d 7 0 c 6 7 c 8 1 0 c 2 6 4 3 b c 0 2 b 8 3 b 3 3 2 d 9 9 b f b f 3 a 7 f c a d a 6 b 9 2 7 f d a 6 7 e f 0 2 c f 9 6 8 d 4 f d f 9 3 0 4 6 6 c 5 9 0 9 c 4 3 3 8 b d a 6 4 f 1 f 3 f 4 8 3 e
" 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 . 0 - 1 - a n y . p k g . t a r . x z "
3 7 7 4 7 f 3 f 3 7 3 e b f f 1 a 4 9 3 f 5 d e c 0 9 9 f 8 c d 6 d 5 a b d c 2 2 5 4 d 9 c d 6 8 a 1 0 3 a d 7 b a 4 4 a 8 1 a 9 a 9 7 c c a b a 7 6 e a e e 4 2 7 b 4 d 6 7 b 2 b e c b 6 5 5 e e 2 c 3 7 9 c 2 e 5 6 3 c 8 0 5 1 b 6 7 0 8 4 3 1 e 3 c 5 8 8
" 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 - 8 . 0 . 0 . 5 9 0 6 . c 9 a 2 1 5 7 1 - 1 - a n y . p k g . t a r . z s t "
2 c 3 d 9 e 6 b 2 e e e 6 a 4 c 1 6 f d 6 9 d d f a d b 6 e 2 d c 7 f 3 1 1 5 6 6 2 7 d 8 5 8 4 5 c 5 2 3 a c 8 5 e 5 c 5 8 5 d 4 c f a 9 7 8 6 5 9 b 1 f e 2 e c 8 2 3 d 4 4 e f 5 7 b c 2 b 9 2 a 6 1 2 7 6 1 8 f f 1 a 8 d 7 5 0 5 4 5 8 b 7 9 4 f 3 f 0 1 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 - w i n p t h r e a d s - g i t - 8 . 0 . 0 . 5 9 0 6 . c 9 a 2 1 5 7 1 - 1 - a n y . p k g . t a r . z s t "
e 8 7 a d 4 f 4 0 7 1 c 6 b 5 b b a 3 b 1 3 a 8 5 a b f 6 6 5 7 b b 4 9 4 b 7 3 c 5 7 e b e 6 5 b c 5 a 9 2 e 2 c e f 1 d 9 d e 3 5 4 e 6 8 5 8 d 1 3 3 8 e e 7 2 8 0 9 e 3 d c 7 4 2 b a 6 9 c e 0 9 0 a a a d 4 5 6 0 a e 1 d 3 4 7 9 a 6 1 d b e b f 0 3 c 6
" 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 . 1 . 0 - 1 - a n y . p k g . t a r . x z "
d 2 3 6 b 8 1 5 e c 3 c f 5 6 9 d 2 4 d 9 6 a 3 8 6 e c a 9 f 6 9 a 2 b 1 e 8 a f 1 8 e 9 6 c 3 f 1 e 5 a 4 d 6 8 a 3 5 9 8 d 3 2 7 6 8 c 7 f b 3 c 9 2 2 0 7 e c f f e 5 3 1 2 5 9 8 2 2 c 1 a 4 2 1 3 5 0 9 4 9 f 2 f f a b d 8 e e 8 1 3 6 5 4 f 1 a f 8 6 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 - m p f r - 4 . 1 . 0 - 2 - a n y . p k g . t a r . z s t "
c a a c 5 c b 7 3 3 9 5 0 8 2 b 4 7 9 5 9 7 a 7 3 c 7 3 9 8 b f 8 3 0 0 9 d b c 0 0 5 1 7 5 5 e f 1 5 1 5 7 d c 3 4 9 9 6 e 1 5 6 d 4 e d 7 8 8 1 e f 7 0 3 f 9 e 9 2 8 6 1 c f c a d 0 0 0 8 8 8 c 4 c 3 2 e 4 b f 3 8 b 2 5 9 6 c 4 1 5 a 1 9 a a f c f 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 / i 6 8 6 / m i n g w - w 6 4 - i 6 8 6 - g c c - 1 0 . 2 . 0 - 1 - a n y . p k g . t a r . z s t "
3 0 8 5 e 7 4 4 e 7 1 6 3 0 1 b a 8 e 4 c 8 a 3 9 1 a b 0 9 c 2 d 5 1 e 5 8 7 e 0 a 2 d f 5 d a b 4 9 f 8 3 b 4 0 3 a 3 2 1 6 0 f 8 d 7 1 3 c f 1 a 4 2 c 1 d 9 6 2 8 8 5 b 4 c 6 e e 3 b 6 e d 3 6 e f 4 0 d e 1 5 c 4 b e 2 b 6 9 d b c 3 f 1 2 f 9 7 4 c 3 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 - b i n u t i l s - 2 . 3 4 - 3 - a n y . p k g . t a r . z s t "
f f 0 6 b 2 a d e b e 6 e 9 b 2 7 8 b 6 3 c a 5 6 3 8 f f 7 0 4 7 5 0 a 3 4 6 f a a d 1 c d c 4 0 0 8 9 4 3 1 b 0 a 3 0 8 e d b 6 f 2 a 1 3 1 8 1 5 e 0 5 7 7 6 7 3 a 1 9 8 7 8 e c 1 b d 8 d 5 a 4 f a 5 9 2 a a 2 2 7 d e 7 6 9 4 9 6 c 1 f d 3 a e d b c 8 5
" 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 - 8 . 0 . 0 . 5 9 6 6 . f 5 d a 8 0 5 f - 1 - a n y . p k g . t a r . z s t "
1 2 0 c 9 4 3 c e 1 7 3 7 1 9 e 4 8 4 0 0 f a 1 8 2 9 9 f 3 4 5 8 b c 9 d b 4 c f 1 8 b b 5 a 4 d d a 8 a 9 1 c c 3 f 8 1 6 5 1 0 b 3 3 7 a 9 2 f 7 3 8 8 0 7 7 c 6 5 b 5 0 b b b e a e 9 0 7 8 7 9 3 8 9 1 c e a a d 6 3 1 d 7 8 0 b 1 0 f d e 1 9 a d 3 6 4 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 - 8 . 0 . 0 . 5 9 6 6 . f 5 d a 8 0 5 f - 1 - a n y . p k g . t a r . z s t "
d b b 9 f 8 2 5 8 d a 3 0 6 a 3 4 4 1 f 9 8 8 2 f a a 4 7 2 c 3 6 6 5 a 6 7 b 2 e a 6 8 6 5 7 f 3 e 8 a 1 4 0 2 d c f a c f 9 7 8 7 a 8 8 6 a 3 d a f 0 e e f e 4 9 4 6 f 0 4 5 5 7 b c 1 6 6 e b 1 5 b 2 1 c 1 0 9 3 a d 8 5 c 9 0 9 0 0 2 d a a d b a 1 9 2 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 / 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-08-31 22:36:25 -07: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
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 - z l i b - 1 . 2 . 1 1 - 8 - a n y . p k g . t a r . z s t "
2021-08-14 13:37:08 +08:00
4 6 b b f 0 f 2 8 d 9 f a f 0 4 7 2 2 1 d e f 1 9 e 6 f 9 4 b 9 5 5 6 f c 6 c 9 5 1 c a d 9 c 4 f b 6 5 7 f d e 9 d 1 5 3 0 3 b 9 c b 6 4 a a d 1 1 e a a 5 7 8 9 2 c d e 4 9 e a f b 4 3 f b e 2 e c 6 d a 6 b 6 1 2 4 4 9 a 2 0 a e 4 9 d c 8 2 3 3 e 9 4 5 b
2020-08-31 22:36:25 -07: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 s t d - 1 . 4 . 5 - 1 - a n y . p k g . t a r . z s t "
6 8 f 4 3 1 0 7 3 7 1 7 b 5 9 5 4 9 a b 0 f d 2 6 b e 8 d f 8 a f c b 4 3 f 3 d d 8 5 b e 2 f f c b c 7 d 1 a 6 2 9 9 9 9 e e d 9 2 4 6 5 6 a 7 f c 3 f 5 0 9 3 7 b 2 e 6 6 0 5 a 5 0 6 7 5 4 2 d 0 1 6 1 8 1 1 0 6 b 7 b c 3 4 0 8 b 8 9 b 2 6 8 c e d 5 d 2 3
)
2020-08-12 19:28:41 +02:00
elseif ( VCPKG_TARGET_ARCHITECTURE STREQUAL "x64" )
set ( MINGW_PATH mingw64 )
set ( MACHINE_FLAG -m64 )
2020-08-31 22:36:25 -07:00
vcpkg_acquire_msys ( MSYS_ROOT
D I R E C T _ P A C K A G E S
" 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 0 . 2 . 0 - 1 - a n y . p k g . t a r . z s t "
0 d e 0 2 d b 7 9 1 e 9 7 8 a e 2 1 5 7 7 e 6 7 5 e e 9 6 7 6 f 7 4 1 3 3 6 c 9 a 5 c e b 5 6 1 4 d b d f c 7 9 3 e 2 c 1 c 4 7 4 9 b 3 9 4 f 4 1 3 6 2 a f 7 b 0 6 9 e 9 7 0 3 0 2 f d d f 8 c 6 7 7 2 e b d 8 4 4 5 f e 1 c 3 6 0 8 6 1 6 0 6 b 1 7 8 4 b 4 d
" 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 0 . 2 . 0 - 1 - a n y . p k g . t a r . z s t "
c 2 d e e 2 9 5 7 3 5 6 f a 5 1 a a e 3 9 d 9 0 7 d 0 c c 0 7 f 9 6 6 0 2 8 b 4 1 8 f 7 4 a 1 e a 7 e a 5 5 1 f f 0 0 1 c 1 7 5 d 8 6 7 8 1 f 9 8 0 c 0 c f 9 9 4 2 0 7 7 9 4 3 2 2 d c d 3 6 9 f a 1 2 2 a b 7 8 b 6 c 6 d 0 f 0 a b 0 1 e 3 9 a 7 5 4 e 7 8 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 - g c c - l i b s - 1 0 . 2 . 0 - 1 - a n y . p k g . t a r . z s t "
d 1 7 e f f 0 8 c 8 3 d 0 8 e f 0 2 0 d 9 9 9 a 2 e a d 0 d 2 5 0 3 6 a d a 1 c 1 b f 6 e d 7 c 0 2 b a d 9 b 5 6 8 4 0 e e 5 a 3 3 0 4 a c d 7 9 0 d 8 6 f 5 2 b 8 3 b 0 9 c 1 e 7 8 8 f 0 c e c d f 7 2 5 4 d c 6 7 6 0 c 3 c 7 e 4 7 8 f 6 5 8 8 2 c d 3 2 d
" 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 . 0 - 1 - a n y . p k g . t a r . x z "
0 b 2 2 b 7 3 6 3 e 2 7 c e c 7 0 6 e b 7 9 e e 0 c 4 5 b 5 f e 7 0 8 8 a 5 c a 6 9 e 0 8 6 8 e 7 3 6 6 4 8 1 e d 2 e a 9 b 3 f 6 6 2 3 d 3 4 0 c e b b a 0 b 5 e d 3 d 7 9 e 4 d f c 7 c f 1 5 f 5 3 5 3 0 e b 2 6 0 c 6 d 4 0 5 7 b f c 3 d 9 2 e b 8 c 7 b c
" 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 - 8 . 0 . 0 . 5 9 0 6 . c 9 a 2 1 5 7 1 - 1 - a n y . p k g . t a r . z s t "
a 6 9 6 9 a 5 d b 1 c 5 5 b a 4 5 8 c 1 a 0 4 7 d 0 a 2 a 9 d 2 d b 6 c c 2 4 2 6 6 e a 4 7 f 7 4 0 5 9 8 b 1 4 9 a 6 0 1 9 9 5 d 2 d e 7 3 4 a 0 9 8 4 a c 5 e 5 7 e e 6 1 1 d 5 9 8 2 c b c 0 3 f d 6 f c 0 f 4 9 8 4 3 5 e 8 d 6 4 0 1 b f 1 5 7 2 4 c a a d
" 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 - 8 . 0 . 0 . 5 9 0 6 . c 9 a 2 1 5 7 1 - 1 - a n y . p k g . t a r . z s t "
8 7 a e 0 9 0 a 8 d e 8 5 5 d e 5 5 8 0 f 1 5 8 f 4 0 0 7 f 8 8 d 6 d a d 3 4 1 4 2 9 6 2 0 6 8 5 d c 7 3 6 b e 5 5 b 1 f 0 6 0 4 8 7 5 5 2 0 4 0 3 2 7 a 7 6 0 0 3 6 1 8 e 2 1 4 a 1 1 c 1 f 8 e 5 1 0 5 c a 2 c 7 a b e 1 6 4 9 0 8 1 2 1 6 2 7 4 4 9 d 6 7 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 - m p c - 1 . 1 . 0 - 1 - a n y . p k g . t a r . x z "
d b 0 7 5 a 1 4 0 6 6 9 0 9 3 5 d b 5 7 8 0 a f 2 9 3 6 6 0 3 8 5 f 5 6 6 9 9 8 8 1 a 1 b 2 c d 2 5 a b 2 5 2 1 8 3 6 4 3 d 7 1 d 6 4 6 b 0 d a d f 1 e 3 4 1 7 4 d f 8 f 0 7 4 4 d 5 1 c e 8 b 5 6 d c c d 7 1 9 e 0 4 9 e f c a f 9 b 7 e 0 8 e 8 0 a 7 e f 6
" 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 - 2 - a n y . p k g . t a r . z s t "
1 4 7 3 9 6 6 7 2 4 2 b 8 8 5 2 f 0 d 2 6 5 4 7 e b 3 2 9 7 8 9 9 a 5 1 f d 1 e d a f c 7 1 0 1 b 4 e 7 4 8 9 2 7 3 e 1 e f b 9 c b 8 4 2 2 f c 0 6 7 3 6 1 e 3 c 3 6 9 4 c 2 a f c c 6 c 4 9 f c 8 9 5 3 7 f 9 f 8 1 1 a d 5 b 9 b 5 9 5 8 7 3 1 1 2 e e 8 9 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 - g c c - 1 0 . 2 . 0 - 1 - a n y . p k g . t a r . z s t "
7 a 0 8 c 7 9 2 3 f 6 8 8 c a 8 f 0 6 d 5 5 e 1 e 9 1 b 9 0 5 9 a 9 3 3 e e 5 6 e 2 7 0 7 5 e a 0 7 3 e 6 e 5 8 a e 2 2 0 3 1 0 f b 5 f 7 9 8 6 9 8 8 6 a 6 1 b 6 9 8 7 a b 0 8 9 9 3 c 9 f 9 6 2 a 4 b f c 5 0 b 6 e a 8 0 4 7 3 e 9 3 3 c e 5 5 5 1 f 3 9 3 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 - b i n u t i l s - 2 . 3 4 - 3 - a n y . p k g . t a r . z s t "
4 e f d 5 5 8 6 c 3 4 4 8 0 2 1 1 0 e a 0 0 6 1 8 6 7 4 6 9 a 2 3 5 7 1 d f 8 8 5 2 9 d 6 6 a 9 4 3 f 8 6 a d d 1 2 8 7 f 8 5 e f 5 3 b 6 a 9 a 9 b 1 6 a f 2 c b 6 7 b d 0 9 e 0 7 6 0 a 6 f 2 9 0 c 3 b 0 4 b a 7 0 c 0 d 5 8 6 1 d 8 a 9 f 7 9 f 0 a c 2 0 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 - c r t - g i t - 8 . 0 . 0 . 5 9 6 6 . f 5 d a 8 0 5 f - 1 - a n y . p k g . t a r . z s t "
0 1 4 2 e 4 a 4 4 c 5 9 d 1 7 3 8 0 a 4 f c 7 b 1 0 1 a 2 1 5 2 4 8 6 7 8 1 6 2 1 d 5 f 9 f 9 3 0 0 4 5 b 8 f 9 c 4 b b 2 c 9 3 e a 8 8 2 1 1 e 7 d 8 f 8 f 2 3 3 e 0 a e 0 9 5 9 5 c 6 c 8 b c 9 4 8 a e 8 0 b 9 6 7 3 f 2 3 1 e 7 1 5 b 0 d 0 4 c 8 a 1 e 5 4
" 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 - 8 . 0 . 0 . 5 9 6 6 . f 5 d a 8 0 5 f - 1 - a n y . p k g . t a r . z s t "
b 5 4 7 0 9 1 a 4 5 e a 7 d f 8 1 8 2 b 6 2 7 e d c 9 a 7 c 9 1 a 2 3 f 0 1 c 0 d 4 e 0 2 6 3 4 a 5 9 0 c 0 2 f 2 4 3 1 1 7 4 1 c a d 9 2 c e b 6 7 b 7 e 4 4 3 2 f f b e 4 2 6 6 f 1 3 5 a 5 2 8 9 e b 3 5 6 0 c c 9 0 f f a 5 c 5 7 6 1 2 c 8 5 3 7 a 1 5 8 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 / 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-08-31 22:36:25 -07: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
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 - z l i b - 1 . 2 . 1 1 - 8 - a n y . p k g . t a r . z s t "
f 4 0 d d e 3 2 1 6 1 8 5 e 9 4 5 b a f 5 1 c 2 9 b b f 8 d 1 9 4 7 2 2 0 5 9 3 9 0 1 f 9 8 2 c 7 1 1 a 6 6 3 b b 5 a 3 0 3 e f e 4 3 4 a 4 f 6 c f 0 c 8 8 5 8 1 7 8 1 2 f d c 8 1 1 8 3 b c c 1 a 2 4 0 b 9 6 c 2 9 a b b 2 4 a 4 c 8 3 2 0 2 f d 1 5 0 1 6 e
2020-08-31 22:36:25 -07: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 s t d - 1 . 4 . 5 - 1 - a n y . p k g . t a r . z s t "
d c 2 c 7 2 8 9 f b 2 0 6 9 6 6 8 2 9 c 9 8 f 6 b f 4 3 8 9 b 4 2 3 7 8 4 4 1 5 5 3 2 c a 3 d 6 2 7 a 2 2 a e 9 d 7 5 6 a 4 f e 2 f a f 9 8 4 4 9 9 4 b 3 0 9 3 d 8 1 4 d 1 2 9 d 2 0 b 2 b 7 9 8 9 7 e 7 0 2 a a 9 5 6 9 9 7 8 f 5 8 4 3 1 e a 6 6 b 5 5 f e b
)
2020-08-12 19:28:41 +02:00
else ( )
message ( FATAL_ERROR "Unknown architecture '${VCPKG_TARGET_ARCHITECTURE}' for MinGW Fortran build!" )
endif ( )
2020-08-31 22:36:25 -07:00
2020-08-12 19:28:41 +02:00
set ( MINGW_BIN "${MSYS_ROOT}/${MINGW_PATH}/bin" )
vcpkg_add_to_path ( PREPEND "${MINGW_BIN}" )
list ( APPEND ARGS_OUT -DCMAKE_GNUtoMS=ON
" - 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-08-31 22:36:25 -07:00
# This is for private use by vcpkg-gfortran
set ( vcpkg_find_fortran_MSYS_ROOT "${MSYS_ROOT}" PARENT_SCOPE )
2020-08-12 19:28:41 +02: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 ( )
set ( ${ additional_cmake_args_out } ${ ARGS_OUT } PARENT_SCOPE )
2020-08-31 22:36:25 -07:00
endfunction ( )