mirror of https://github.com/aminya/setup-cpp.git
feat: support LLVM 21 + GCC 15.2 (#447)
This commit is contained in:
parent
cc0e9fb8ec
commit
3481e9e840
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
10
package.json
10
package.json
|
|
@ -17,12 +17,12 @@
|
|||
"build.cli.legacy": "cross-env NODE_ENV=production vite build --mode cli-legacy",
|
||||
"build.library": "cross-env NODE_ENV=production vite build --mode library",
|
||||
"build.types.modern": "tsc -p ./tsconfig.types.json",
|
||||
"build.json": "shx cp ./src/*/*.json ./dist/legacy/ && shx cp ./dist/legacy/*.json ./dist/modern && minijson --file ./dist/**/*.json",
|
||||
"build.json": "shx cp ./src/*/*.json ./dist/legacy/ && shx cp ./dist/legacy/*.json ./dist/modern && minijson --file \"dist/**/*.json\"",
|
||||
"build.bash": "shx cp ./src/*/*.bash ./dist/legacy/ && shx cp ./dist/legacy/*.bash ./dist/modern",
|
||||
"bump": "ncu -u -x execa,numerous,eslint,@types/eslint,which && pnpm update && pnpx typesync && pnpm run clean",
|
||||
"bump.llvm": "GITHUB_TOKEN=$(gh auth token) tsx ./src/llvm/assets-list.ts",
|
||||
"bump.gcc": "GITHUB_TOKEN=$(gh auth token) tsx ./src/gcc/assets-list.ts",
|
||||
"bump.infer": "GITHUB_TOKEN=$(gh auth token) tsx ./src/infer/assets-list.ts",
|
||||
"bump.llvm": "tsx ./src/llvm/assets-list.ts",
|
||||
"bump.gcc": "tsx ./src/gcc/assets-list.ts",
|
||||
"bump.infer": "tsx ./src/infer/assets-list.ts",
|
||||
"bump.versions": "run-p bump.llvm bump.gcc bump.infer && run-s format",
|
||||
"clean": "shx rm -rf ./dist ./packages/*/dist ./exe ./.parcel-cache && shx mkdir -p ./dist/legacy ./dist/modern ./dist/modern ",
|
||||
"dev.vite": "cross-env NODE_ENV=development vite build --watch",
|
||||
|
|
@ -191,7 +191,7 @@
|
|||
"node": ">=12.x",
|
||||
"pnpm": "^10"
|
||||
},
|
||||
"packageManager": "pnpm@10.15.0",
|
||||
"packageManager": "pnpm@10.20.0",
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
|
|
|
|||
|
|
@ -1,8 +1,48 @@
|
|||
{
|
||||
"15.2.0posix-13.0.0-ucrt-r3": [
|
||||
"winlibs-x86_64-posix-seh-gcc-15.2.0-mingw-w64ucrt-13.0.0-r3.7z",
|
||||
"winlibs-i686-posix-dwarf-gcc-15.2.0-mingw-w64ucrt-13.0.0-r3.7z"
|
||||
],
|
||||
"15.2.0posix-13.0.0-ucrt-r2": [
|
||||
"winlibs-x86_64-posix-seh-gcc-15.2.0-mingw-w64ucrt-13.0.0-r2.7z",
|
||||
"winlibs-i686-posix-dwarf-gcc-15.2.0-mingw-w64ucrt-13.0.0-r2.7z"
|
||||
],
|
||||
"15.2.0posix-13.0.0-ucrt-r1": [
|
||||
"winlibs-x86_64-posix-seh-gcc-15.2.0-mingw-w64ucrt-13.0.0-r1.7z",
|
||||
"winlibs-i686-posix-dwarf-gcc-15.2.0-mingw-w64ucrt-13.0.0-r1.7z"
|
||||
],
|
||||
"15.2.0posix-13.0.0-msvcrt-r3": [
|
||||
"winlibs-x86_64-posix-seh-gcc-15.2.0-mingw-w64msvcrt-13.0.0-r3.7z",
|
||||
"winlibs-i686-posix-dwarf-gcc-15.2.0-mingw-w64msvcrt-13.0.0-r3.7z"
|
||||
],
|
||||
"15.2.0posix-13.0.0-msvcrt-r2": [
|
||||
"winlibs-x86_64-posix-seh-gcc-15.2.0-mingw-w64msvcrt-13.0.0-r2.7z",
|
||||
"winlibs-i686-posix-dwarf-gcc-15.2.0-mingw-w64msvcrt-13.0.0-r2.7z"
|
||||
],
|
||||
"15.2.0posix-13.0.0-msvcrt-r1": [
|
||||
"winlibs-x86_64-posix-seh-gcc-15.2.0-mingw-w64msvcrt-13.0.0-r1.7z",
|
||||
"winlibs-i686-posix-dwarf-gcc-15.2.0-mingw-w64msvcrt-13.0.0-r1.7z"
|
||||
],
|
||||
"15.1.0posix-13.0.0-ucrt-r4": [
|
||||
"winlibs-x86_64-posix-seh-gcc-15.1.0-mingw-w64ucrt-13.0.0-r4.7z",
|
||||
"winlibs-i686-posix-dwarf-gcc-15.1.0-mingw-w64ucrt-13.0.0-r4.7z"
|
||||
],
|
||||
"15.1.0posix-13.0.0-ucrt-r3": [
|
||||
"winlibs-x86_64-posix-seh-gcc-15.1.0-mingw-w64ucrt-13.0.0-r3.7z",
|
||||
"winlibs-i686-posix-dwarf-gcc-15.1.0-mingw-w64ucrt-13.0.0-r3.7z"
|
||||
],
|
||||
"15.1.0posix-13.0.0-ucrt-r2": [
|
||||
"winlibs-x86_64-posix-seh-gcc-15.1.0-mingw-w64ucrt-13.0.0-r2.7z",
|
||||
"winlibs-i686-posix-dwarf-gcc-15.1.0-mingw-w64ucrt-13.0.0-r2.7z"
|
||||
],
|
||||
"15.1.0posix-13.0.0-msvcrt-r4": [
|
||||
"winlibs-x86_64-posix-seh-gcc-15.1.0-mingw-w64msvcrt-13.0.0-r4.7z",
|
||||
"winlibs-i686-posix-dwarf-gcc-15.1.0-mingw-w64msvcrt-13.0.0-r4.7z"
|
||||
],
|
||||
"15.1.0posix-13.0.0-msvcrt-r3": [
|
||||
"winlibs-x86_64-posix-seh-gcc-15.1.0-mingw-w64msvcrt-13.0.0-r3.7z",
|
||||
"winlibs-i686-posix-dwarf-gcc-15.1.0-mingw-w64msvcrt-13.0.0-r3.7z"
|
||||
],
|
||||
"15.1.0posix-13.0.0-msvcrt-r2": [
|
||||
"winlibs-x86_64-posix-seh-gcc-15.1.0-mingw-w64msvcrt-13.0.0-r2.7z",
|
||||
"winlibs-i686-posix-dwarf-gcc-15.1.0-mingw-w64msvcrt-13.0.0-r2.7z"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,77 @@
|
|||
{
|
||||
"llvmorg-21.1.5": [
|
||||
"clang+llvm-21.1.5-x86_64-pc-windows-msvc.tar.xz",
|
||||
"LLVM-21.1.5-win64.exe",
|
||||
"LLVM-21.1.5-win32.exe",
|
||||
"LLVM-21.1.5-Linux-X64.tar.xz",
|
||||
"LLVM-21.1.5-Linux-ARM64.tar.xz"
|
||||
],
|
||||
"llvmorg-21.1.4": [
|
||||
"clang+llvm-21.1.4-x86_64-pc-windows-msvc.tar.xz",
|
||||
"clang+llvm-21.1.4-armv7a-linux-gnueabihf.tar.gz",
|
||||
"clang+llvm-21.1.4-aarch64-pc-windows-msvc.tar.xz",
|
||||
"LLVM-21.1.4-woa64.exe",
|
||||
"LLVM-21.1.4-win64.exe",
|
||||
"LLVM-21.1.4-win32.exe",
|
||||
"LLVM-21.1.4-Linux-X64.tar.xz",
|
||||
"LLVM-21.1.4-Linux-ARM64.tar.xz"
|
||||
],
|
||||
"llvmorg-21.1.3": [
|
||||
"clang+llvm-21.1.3-x86_64-pc-windows-msvc.tar.xz",
|
||||
"clang+llvm-21.1.3-armv7a-linux-gnueabihf.tar.gz",
|
||||
"clang+llvm-21.1.3-aarch64-pc-windows-msvc.tar.xz",
|
||||
"LLVM-21.1.3-woa64.exe",
|
||||
"LLVM-21.1.3-win64.exe",
|
||||
"LLVM-21.1.3-win32.exe",
|
||||
"LLVM-21.1.3-Linux-X64.tar.xz",
|
||||
"LLVM-21.1.3-Linux-ARM64.tar.xz"
|
||||
],
|
||||
"llvmorg-21.1.2": [
|
||||
"clang+llvm-21.1.2-x86_64-pc-windows-msvc.tar.xz",
|
||||
"clang+llvm-21.1.2-armv7a-linux-gnueabihf.tar.gz",
|
||||
"clang+llvm-21.1.2-aarch64-pc-windows-msvc.tar.xz",
|
||||
"LLVM-21.1.2-woa64.exe",
|
||||
"LLVM-21.1.2-win64.exe",
|
||||
"LLVM-21.1.2-win32.exe",
|
||||
"LLVM-21.1.2-Linux-X64.tar.xz",
|
||||
"LLVM-21.1.2-Linux-ARM64.tar.xz"
|
||||
],
|
||||
"llvmorg-21.1.1": [
|
||||
"clang+llvm-21.1.1-x86_64-pc-windows-msvc.tar.xz",
|
||||
"clang+llvm-21.1.1-armv7a-linux-gnueabihf.tar.gz",
|
||||
"clang+llvm-21.1.1-aarch64-pc-windows-msvc.tar.xz",
|
||||
"LLVM-21.1.1-woa64.exe",
|
||||
"LLVM-21.1.1-win64.exe",
|
||||
"LLVM-21.1.1-win32.exe",
|
||||
"LLVM-21.1.1-Linux-X64.tar.xz",
|
||||
"LLVM-21.1.1-Linux-ARM64.tar.xz"
|
||||
],
|
||||
"llvmorg-21.1.0": [
|
||||
"clang+llvm-21.1.0-x86_64-pc-windows-msvc.tar.xz",
|
||||
"clang+llvm-21.1.0-armv7a-linux-gnueabihf.tar.gz",
|
||||
"clang+llvm-21.1.0-aarch64-pc-windows-msvc.tar.xz",
|
||||
"LLVM-21.1.0-woa64.exe",
|
||||
"LLVM-21.1.0-win64.exe",
|
||||
"LLVM-21.1.0-win32.exe",
|
||||
"LLVM-21.1.0-Linux-X64.tar.xz",
|
||||
"LLVM-21.1.0-Linux-ARM64.tar.xz"
|
||||
],
|
||||
"llvmorg-20.1.8": [
|
||||
"clang+llvm-20.1.8-x86_64-pc-windows-msvc.tar.xz",
|
||||
"clang+llvm-20.1.8-armv7a-linux-gnueabihf.tar.gz",
|
||||
"clang+llvm-20.1.8-aarch64-pc-windows-msvc.tar.xz",
|
||||
"LLVM-20.1.8-woa64.exe",
|
||||
"LLVM-20.1.8-win64.exe",
|
||||
"LLVM-20.1.8-win32.exe",
|
||||
"LLVM-20.1.8-macOS-ARM64.tar.xz",
|
||||
"LLVM-20.1.8-Linux-X64.tar.xz",
|
||||
"LLVM-20.1.8-Linux-ARM64.tar.xz"
|
||||
],
|
||||
"llvmorg-20.1.7": [
|
||||
"clang+llvm-20.1.7-x86_64-pc-windows-msvc.tar.xz",
|
||||
"clang+llvm-20.1.7-armv7a-linux-gnueabihf.tar.gz",
|
||||
"clang+llvm-20.1.7-aarch64-pc-windows-msvc.tar.xz",
|
||||
"LLVM-20.1.7-woa64.exe",
|
||||
"LLVM-20.1.7-win64.exe",
|
||||
"LLVM-20.1.7-win32.exe",
|
||||
"LLVM-20.1.7-macOS-X64.tar.xz",
|
||||
|
|
@ -9,12 +80,9 @@
|
|||
"LLVM-20.1.7-Linux-ARM64.tar.xz"
|
||||
],
|
||||
"llvmorg-20.1.6": [
|
||||
"clang+llvm-20.1.7-armv7a-linux-gnueabihf.tar.gz",
|
||||
"clang+llvm-20.1.7-aarch64-pc-windows-msvc.tar.xz",
|
||||
"clang+llvm-20.1.6-x86_64-pc-windows-msvc.tar.xz",
|
||||
"clang+llvm-20.1.6-armv7a-linux-gnueabihf.tar.gz",
|
||||
"clang+llvm-20.1.6-aarch64-pc-windows-msvc.tar.xz",
|
||||
"LLVM-20.1.7-woa64.exe",
|
||||
"LLVM-20.1.6-woa64.exe",
|
||||
"LLVM-20.1.6-win64.exe",
|
||||
"LLVM-20.1.6-win32.exe",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import module from "module"
|
||||
import { type AliasOptions, defineConfig } from "vite"
|
||||
import babel from "vite-plugin-babel"
|
||||
import babelConfig from "./babel.config.cjs"
|
||||
import babelConfig from "./babel.config.mjs"
|
||||
|
||||
const viteConfig = defineConfig((configEnv) => {
|
||||
const isLegacy = configEnv.mode.includes("legacy")
|
||||
|
|
|
|||
Loading…
Reference in New Issue