From a0c9d1c21a2492982a411f3878488f133b7d62ef Mon Sep 17 00:00:00 2001 From: linsui <36977733+linsui@users.noreply.github.com> Date: Thu, 2 Jan 2020 03:19:20 +0000 Subject: [PATCH] gcc: Add bin and autoupdate (#677) --- bucket/gcc.json | 67 +++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 62 insertions(+), 5 deletions(-) diff --git a/bucket/gcc.json b/bucket/gcc.json index 08cf708368..4cb4eef438 100644 --- a/bucket/gcc.json +++ b/bucket/gcc.json @@ -1,21 +1,78 @@ { "homepage": "https://mingw-w64.org", "description": "GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Ada, Go, and D, as well as libraries for these languages (libstdc++,...). (MingW port)", - "version": "8.1.0", - "license": "GPL-3.0-only", + "version": "8.1.0.0", + "license": "GPL-3.0-or-later,ZPL-2.1,...", "architecture": { "64bit": { "url": "https://downloads.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-posix/seh/x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z", - "hash": "853970527B5DE4A55EC8CA4D3FD732C00AE1C69974CC930C82604396D43E79F8", + "hash": "sha1:5aa456654a6ce77249c27888b5d0f856fc011b9c", "extract_dir": "mingw64" }, "32bit": { "url": "https://downloads.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/8.1.0/threads-posix/dwarf/i686-8.1.0-release-posix-dwarf-rt_v6-rev0.7z", - "hash": "ADB84B70094C0225DD30187FF995E311D19424B1EB8F60934C60E4903297F946", + "hash": "sha1:dd4f34f473e84c79b6b446adb3a5fac7919ba9cb", "extract_dir": "mingw32" } }, - "env_add_path": "bin", + "bin": [ + "bin\\addr2line.exe", + "bin\\ar.exe", + "bin\\as.exe", + "bin\\c++.exe", + "bin\\c++filt.exe", + "bin\\cpp.exe", + "bin\\dlltool.exe", + "bin\\dllwrap.exe", + "bin\\dwp.exe", + "bin\\elfedit.exe", + "bin\\g++.exe", + "bin\\gcc.exe", + "bin\\gcov-dump.exe", + "bin\\gcov-tool.exe", + "bin\\gcov.exe", + "bin\\gdb.exe", + "bin\\gdborig.exe", + "bin\\gdbserver.exe", + "bin\\gendef.exe", + "bin\\genidl.exe", + "bin\\genpeimg.exe", + "bin\\gfortran.exe", + "bin\\gprof.exe", + "bin\\ld.bfd.exe", + "bin\\ld.exe", + "bin\\ld.gold.exe", + [ + "bin\\mingw32-make.exe", + "make" + ], + "bin\\nm.exe", + "bin\\objcopy.exe", + "bin\\objdump.exe", + "bin\\ranlib.exe", + "bin\\readelf.exe", + "bin\\size.exe", + "bin\\strings.exe", + "bin\\strip.exe", + "bin\\widl.exe", + "bin\\windmc.exe", + "bin\\windres.exe" + ], + "checkver": { + "url": "https://downloads.sourceforge.net/project/mingw-w64/README.rst", + "regex": "x86_64-([\\d.]+)-release-posix-sjlj-rt_v(?\\d+)-rev(\\d+)\\.7z", + "replace": "${1}.${2}" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://downloads.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/$matchHead/threads-posix/seh/x86_64-$matchHead-release-posix-seh-rt_v$matchRt-rev$buildVersion.7z" + }, + "32bit": { + "url": "https://downloads.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/$matchHead/threads-posix/dwarf/i686-$matchHead-release-posix-dwarf-rt_v$matchRt-rev$buildVersion.7z" + } + } + }, "notes": [ "The 64-bit version is built with Structured Exception Handling (SEH), whereas the 32-bit version is built with DWARF.", "Both 64-bit and 32-bit versions use the POSIX threading model."