diff --git a/ports/fftw3/bigobj.patch b/ports/fftw3/bigobj.patch new file mode 100644 index 00000000000000..1ca38658874c0d --- /dev/null +++ b/ports/fftw3/bigobj.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 64db20b6a..ce438a379 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -315,7 +315,7 @@ endif () + add_library (${fftw3_lib} ${SOURCEFILES}) + target_include_directories (${fftw3_lib} INTERFACE $) + if (MSVC AND NOT (CMAKE_C_COMPILER_ID STREQUAL "Intel")) +- target_compile_definitions (${fftw3_lib} PRIVATE /bigobj) ++ target_compile_options (${fftw3_lib} PRIVATE "/bigobj") + endif () + if (HAVE_SSE) + target_compile_options (${fftw3_lib} PRIVATE ${SSE_FLAG}) diff --git a/ports/fftw3/portfile.cmake b/ports/fftw3/portfile.cmake index 7d3c75f1900fbb..e6a50f1d31e64f 100644 --- a/ports/fftw3/portfile.cmake +++ b/ports/fftw3/portfile.cmake @@ -12,6 +12,7 @@ vcpkg_extract_source_archive_ex( patch_targets.patch fftw3_arch_fix.patch aligned_malloc.patch + bigobj.patch ) vcpkg_check_features( diff --git a/ports/fftw3/vcpkg.json b/ports/fftw3/vcpkg.json index 99fe9ed0905eee..a119ec907f4dc5 100644 --- a/ports/fftw3/vcpkg.json +++ b/ports/fftw3/vcpkg.json @@ -1,7 +1,7 @@ { "name": "fftw3", "version": "3.3.10", - "port-version": 3, + "port-version": 4, "description": "FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) in one or more dimensions, of arbitrary input size, and of both real and complex data (as well as of even/odd data, i.e. the discrete cosine/sine transforms or DCT/DST).", "homepage": "https://www.fftw.org/", "dependencies": [ diff --git a/versions/baseline.json b/versions/baseline.json index 444d01fb03eaef..3de7f556993a24 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2254,7 +2254,7 @@ }, "fftw3": { "baseline": "3.3.10", - "port-version": 3 + "port-version": 4 }, "fftwpp": { "baseline": "2019-12-19", diff --git a/versions/f-/fftw3.json b/versions/f-/fftw3.json index 27f1fec620b346..fe03ab2db49ef7 100644 --- a/versions/f-/fftw3.json +++ b/versions/f-/fftw3.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "1ab09732ff55a9c0ff0fadd66623f38773338649", + "version": "3.3.10", + "port-version": 4 + }, { "git-tree": "2bd307eb2dafcd4938d16fc484fbbb731228f4c3", "version": "3.3.10",