{"action":"created","issue":{"url":"https://api.github.com/repos/DeadSix27/python_cross_compile_script/issues/75","repository_url":"https://api.github.com/repos/DeadSix27/python_cross_compile_script","labels_url":"https://api.github.com/repos/DeadSix27/python_cross_compile_script/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/DeadSix27/python_cross_compile_script/issues/75/comments","events_url":"https://api.github.com/repos/DeadSix27/python_cross_compile_script/issues/75/events","html_url":"https://github.com/DeadSix27/python_cross_compile_script/issues/75","id":361738586,"node_id":"MDU6SXNzdWUzNjE3Mzg1ODY=","number":75,"title":"suggestion: add building fftw3 DLLs ","user":{"login":"hydra3333","id":10749357,"node_id":"MDQ6VXNlcjEwNzQ5MzU3","avatar_url":"https://avatars3.githubusercontent.com/u/10749357?v=4","gravatar_id":"","url":"https://api.github.com/users/hydra3333","html_url":"https://github.com/hydra3333","followers_url":"https://api.github.com/users/hydra3333/followers","following_url":"https://api.github.com/users/hydra3333/following{/other_user}","gists_url":"https://api.github.com/users/hydra3333/gists{/gist_id}","starred_url":"https://api.github.com/users/hydra3333/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hydra3333/subscriptions","organizations_url":"https://api.github.com/users/hydra3333/orgs","repos_url":"https://api.github.com/users/hydra3333/repos","events_url":"https://api.github.com/users/hydra3333/events{/privacy}","received_events_url":"https://api.github.com/users/hydra3333/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-19T13:02:55Z","updated_at":"2018-09-20T13:16:43Z","closed_at":"2018-09-20T13:16:43Z","author_association":"CONTRIBUTOR","body":"Hello, \r\nI notice that fft now only provides windows binaries up to 3.3.5 whereas the latest code is currently up to 3.3.8\r\nSource http://www.fftw.org/download.html\r\nWindows Binaries (DLLs) http://www.fftw.org/install/windows.html\r\n\r\nLargely filched from their build script ftp://ftp.fftw.org/pub/fftw/BUILD-MINGW64.sh is code which seems to build the DLLs ok (as a product).\r\n\r\nI wonder if you would be so kind as to consider adding something along these lines to your script ?\r\n\r\nThanks.\r\n\r\nThe product:\r\n```\r\n\t'fftw3_dll' : { # create the FFTW DLLs which we can use with things like avisynth etc\r\n\t\t'is_dep_inheriter' : True,\r\n\t\t'needs_configure' : False,\r\n\t\t'needs_make' : False,\r\n\t\t'needs_make_install' : False,\r\n\t\t'is_cmake' : False,\r\n\t\t'depends_on' : [\r\n\t\t\t'fftw3_dll_single', 'fftw3_dll_double', 'fftw3_dll_ldouble', # 'fftw3_dll_quad', # quad doesn't build\r\n\t\t],\r\n\t},\r\n```\r\n\r\nThe dependencies:\r\n```\r\n\t'fftw3_dll_single' : { # libfftw3f.dll.a # create the FFTW DLLs which we can use with things like avisynth etc\r\n\t    # see \r\n\t\t#\tftp://ftp.fftw.org/pub/fftw/ for the source\r\n\t\t#\tftp://ftp.fftw.org/pub/fftw/BUILD-MINGW64.sh for their 64bit build script\r\n\t\t#\thttp://www.fftw.org/install/windows.html for extra advice on building, eg --enable-portable-binary\r\n\t\t'repo_type' : 'archive',\r\n\t\t'download_locations' : [\r\n\t\t\t{ \"url\" : \"http://fftw.org/fftw-3.3.8.tar.gz\", \"hashes\" : [ { \"type\" : \"sha256\", \"sum\" : \"6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303\" }, ], },\r\n\t\t\t{ \"url\" : \"https://fossies.org/linux/misc/fftw-3.3.8.tar.gz\", \"hashes\" : [ { \"type\" : \"sha256\", \"sum\" : \"6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303\" }, ], },\r\n\t\t],\r\n\t\t'rename_folder' : 'fftw3_dll_single',\r\n\t\t'needs_configure' : True,\r\n\t\t'needs_make' : True,\r\n\t\t'needs_make_install' : True,\r\n\t\t'is_cmake' : False,\r\n\t\t# note: this \"configure\" line is for \"single\" only, refer to ftp://ftp.fftw.org/pub/fftw/BUILD-MINGW64.sh \r\n\t\t'configure_options': '--host={target_host} --prefix={product_prefix}/fftw3_dll_single --exec-prefix={product_prefix}/fftw3_dll_single --disable-doc --disable-alloca --with-our-malloc --with-windows-f77-mangling --enable-shared --disable-static --enable-threads --with-combined-threads --enable-sse2 --enable-avx --disable-altivec --disable-vsx --disable-neon --enable-single ',\r\n\t\t#'configure_options': '--host={target_host} --prefix={product_prefix}/fftw3_dll_single --exec-prefix={product_prefix}/fftw3_dll_single --libdir={product_prefix}/fftw3_dll_single/lib --disable-doc --disable-alloca --with-our-malloc --with-windows-f77-mangling --enable-shared --disable-static --enable-threads --with-combined-threads --enable-sse2 --enable-avx --disable-altivec --disable-vsx --disable-neon --enable-single ',\r\n\t\t'run_post_install' : (\r\n\t\t\t'ls -alR {product_prefix}/fftw3_dll_single/bin',\r\n\t\t),\r\n\t\t'depends_on' : [\r\n\t\t\t'gettext',\r\n\t\t],\r\n\t\t'_info' : { 'version' : '3.3.8', 'fancy_name' : 'fftw3-dll-single only' },\r\n\t},\r\n\t'fftw3_dll_double' : { # create the FFTW DLLs which we can use with things like avisynth etc\r\n\t    # see \r\n\t\t#\tftp://ftp.fftw.org/pub/fftw/ for the source\r\n\t\t#\tftp://ftp.fftw.org/pub/fftw/BUILD-MINGW64.sh for their 64bit build script\r\n\t\t#\thttp://www.fftw.org/install/windows.html for extra advice on building, eg --enable-portable-binary\r\n\t\t'repo_type' : 'archive',\r\n\t\t'download_locations' : [\r\n\t\t\t{ \"url\" : \"http://fftw.org/fftw-3.3.8.tar.gz\", \"hashes\" : [ { \"type\" : \"sha256\", \"sum\" : \"6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303\" }, ], },\r\n\t\t\t{ \"url\" : \"https://fossies.org/linux/misc/fftw-3.3.8.tar.gz\", \"hashes\" : [ { \"type\" : \"sha256\", \"sum\" : \"6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303\" }, ], },\r\n\t\t],\r\n\t\t'rename_folder' : 'fftw3_dll_double',\r\n\t\t'needs_configure' : True,\r\n\t\t'needs_make' : True,\r\n\t\t'needs_make_install' : True,\r\n\t\t'is_cmake' : False,\r\n\t\t# note: this \"configure\" line is for \"double\" only, refer to ftp://ftp.fftw.org/pub/fftw/BUILD-MINGW64.sh \r\n\t\t'configure_options': '--host={target_host} --prefix={product_prefix}/fftw3_dll_double --exec-prefix={product_prefix}/fftw3_dll_double --disable-doc --disable-alloca --with-our-malloc --with-windows-f77-mangling --enable-shared --disable-static --enable-threads --with-combined-threads --enable-sse2 --enable-avx --disable-altivec --disable-vsx --disable-neon ',\r\n\t\t#'configure_options': '--host={target_host} --prefix={product_prefix}/fftw3_dll_double --exec-prefix={product_prefix}/fftw3_dll_double --libdir={product_prefix}/fftw3_dll_double/lib --disable-doc --disable-alloca --with-our-malloc --with-windows-f77-mangling --enable-shared --disable-static --enable-threads --with-combined-threads --enable-sse2 --enable-avx --disable-altivec --disable-vsx --disable-neon ',\r\n\t\t'run_post_install' : (\r\n\t\t\t'ls -alR {product_prefix}/fftw3_dll_double/bin',\r\n\t\t),\r\n\t\t'depends_on' : [\r\n\t\t\t'gettext',\r\n\t\t],\r\n\t\t'_info' : { 'version' : '3.3.8', 'fancy_name' : 'fftw3-dll-double only' },\r\n\t},\r\n\t'fftw3_dll_ldouble' : { # create the FFTW DLLs which we can use with things like avisynth etc\r\n\t    # see \r\n\t\t#\tftp://ftp.fftw.org/pub/fftw/ for the source\r\n\t\t#\tftp://ftp.fftw.org/pub/fftw/BUILD-MINGW64.sh for their 64bit build script\r\n\t\t#\thttp://www.fftw.org/install/windows.html for extra advice on building, eg --enable-portable-binary\r\n\t\t'repo_type' : 'archive',\r\n\t\t'download_locations' : [\r\n\t\t\t{ \"url\" : \"http://fftw.org/fftw-3.3.8.tar.gz\", \"hashes\" : [ { \"type\" : \"sha256\", \"sum\" : \"6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303\" }, ], },\r\n\t\t\t{ \"url\" : \"https://fossies.org/linux/misc/fftw-3.3.8.tar.gz\", \"hashes\" : [ { \"type\" : \"sha256\", \"sum\" : \"6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303\" }, ], },\r\n\t\t],\r\n\t\t'rename_folder' : 'fftw3_dll_ldouble',\r\n\t\t'needs_configure' : True,\r\n\t\t'needs_make' : True,\r\n\t\t'needs_make_install' : True,\r\n\t\t'is_cmake' : False,\r\n\t\t# note: this \"configure\" line is for \"ldouble\" only, refer to ftp://ftp.fftw.org/pub/fftw/BUILD-MINGW64.sh \r\n\t\t'configure_options': '--host={target_host} --prefix={product_prefix}/fftw3_dll_ldouble --exec-prefix={product_prefix}/fftw3_dll_ldouble --disable-doc --disable-alloca --with-our-malloc --with-windows-f77-mangling --enable-shared --disable-static --enable-threads --with-combined-threads --disable-altivec --disable-vsx --disable-neon --enable-long-double ', # --enable-sse2 --enable-avx \r\n\t\t#'configure_options': '--host={target_host} --prefix={product_prefix}/fftw3_dll_ldouble --exec-prefix={product_prefix}/fftw3_dll_ldouble --libdir={product_prefix}/fftw3_dll_ldouble/lib --disable-doc --disable-alloca --with-our-malloc --with-windows-f77-mangling --enable-shared --disable-static --enable-threads --with-combined-threads --enable-sse2 --enable-avx --disable-altivec --disable-vsx --disable-neon --enable-long-double ',\r\n\t\t'run_post_install' : (\r\n\t\t\t'ls -alR {product_prefix}/fftw3_dll_ldouble/bin',\r\n\t\t),\r\n\t\t'depends_on' : [\r\n\t\t\t'gettext',\r\n\t\t],\r\n\t\t'_info' : { 'version' : '3.3.8', 'fancy_name' : 'fftw3-dll-ldouble only' },\r\n\t},\r\n\t'fftw3_dll_quad' : { # create the FFTW DLLs which we can use with things like avisynth etc\r\n\t    # see \r\n\t\t#\tftp://ftp.fftw.org/pub/fftw/ for the source\r\n\t\t#\tftp://ftp.fftw.org/pub/fftw/BUILD-MINGW64.sh for their 64bit build script\r\n\t\t#\thttp://www.fftw.org/install/windows.html for extra advice on building, eg --enable-portable-binary\r\n\t\t'repo_type' : 'archive',\r\n\t\t'download_locations' : [\r\n\t\t\t{ \"url\" : \"http://fftw.org/fftw-3.3.8.tar.gz\", \"hashes\" : [ { \"type\" : \"sha256\", \"sum\" : \"6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303\" }, ], },\r\n\t\t\t{ \"url\" : \"https://fossies.org/linux/misc/fftw-3.3.8.tar.gz\", \"hashes\" : [ { \"type\" : \"sha256\", \"sum\" : \"6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303\" }, ], },\r\n\t\t],\r\n\t\t'rename_folder' : 'fftw3_dll_quad',\r\n\t\t'needs_configure' : True,\r\n\t\t'needs_make' : True,\r\n\t\t'needs_make_install' : True,\r\n\t\t'is_cmake' : False,\r\n\t\t# note: this \"configure\" line is for \"quad\" only, refer to ftp://ftp.fftw.org/pub/fftw/BUILD-MINGW64.sh \r\n\t\t'configure_options': '--host={target_host} --prefix={product_prefix}/fftw3_dll_quad --exec-prefix={product_prefix}/fftw3_dll_quad --disable-doc --disable-alloca --with-our-malloc --with-windows-f77-mangling --enable-shared --disable-static --enable-threads --with-combined-threads --disable-altivec --disable-vsx --disable-neon --enable-quad-precision ', # --enable-sse2 --enable-avx \r\n\t\t#'configure_options': '--host={target_host} --prefix={product_prefix}/fftw3_dll_quad --exec-prefix={product_prefix}/fftw3_dll_quad --libdir={product_prefix}/fftw3_dll_quad/lib --disable-doc --disable-alloca --with-our-malloc --with-windows-f77-mangling --enable-shared --disable-static --enable-threads --with-combined-threads --enable-sse2 --enable-avx --disable-altivec --disable-vsx --disable-neon --enable-quad-precision ',\r\n\t\t'run_post_install' : (\r\n\t\t\t'ls -alR {product_prefix}/fftw3_dll_quad/bin',\r\n\t\t),\r\n\t\t'depends_on' : [\r\n\t\t\t'gettext',\r\n\t\t],\r\n\t\t'_info' : { 'version' : '3.3.8', 'fancy_name' : 'fftw3-dll-quad only' },\r\n\t},\r\n```"},"comment":{"url":"https://api.github.com/repos/DeadSix27/python_cross_compile_script/issues/comments/423179119","html_url":"https://github.com/DeadSix27/python_cross_compile_script/issues/75#issuecomment-423179119","issue_url":"https://api.github.com/repos/DeadSix27/python_cross_compile_script/issues/75","id":423179119,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzE3OTExOQ==","user":{"login":"hydra3333","id":10749357,"node_id":"MDQ6VXNlcjEwNzQ5MzU3","avatar_url":"https://avatars3.githubusercontent.com/u/10749357?v=4","gravatar_id":"","url":"https://api.github.com/users/hydra3333","html_url":"https://github.com/hydra3333","followers_url":"https://api.github.com/users/hydra3333/followers","following_url":"https://api.github.com/users/hydra3333/following{/other_user}","gists_url":"https://api.github.com/users/hydra3333/gists{/gist_id}","starred_url":"https://api.github.com/users/hydra3333/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hydra3333/subscriptions","organizations_url":"https://api.github.com/users/hydra3333/orgs","repos_url":"https://api.github.com/users/hydra3333/repos","events_url":"https://api.github.com/users/hydra3333/events{/privacy}","received_events_url":"https://api.github.com/users/hydra3333/received_events","type":"User","site_admin":false},"created_at":"2018-09-20T13:16:43Z","updated_at":"2018-09-20T13:16:43Z","author_association":"CONTRIBUTOR","body":"Well, maybe not.\r\nThe downloadable 3.3.5  DLLs are circa 2Mb ish each.\r\nThe DLLs 3.3.8 built by this method are circa 50Mb ish each.\r\nSomething seems amiss.\r\n"}}
{"actor":{"display_login":"hydra3333"}}