From 92b6606a0e8d68b9d8c4253d683675a5530fddce Mon Sep 17 00:00:00 2001 From: doylet Date: Wed, 2 Apr 2025 13:52:54 +1100 Subject: [PATCH] Add clang 19.1.7 on linux --- app_manifest_dev.py | 55 +++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 51 insertions(+), 4 deletions(-) diff --git a/app_manifest_dev.py b/app_manifest_dev.py index 6f262be..a31ef9b 100644 --- a/app_manifest_dev.py +++ b/app_manifest_dev.py @@ -545,6 +545,53 @@ def get_manifest(is_windows): executables = [] unzip_method = "default" + version = "19.1.7" + if is_windows: + download_url = f"https://github.com/llvm/llvm-project/releases/download/llvmorg-{version}/LLVM-{version}-win64.exe" + download_checksum = "asd" + unzip_method = '7zip' + executables = [ + { + "path": f"bin/clang++.exe", + "checksum": "asd", + "symlink": [f"clang++-{version}.exe"], + "add_to_devenv_path": True, + }, + { + "path": f"bin/clang.exe", + "checksum": "asd", + "symlink": [f"clang-{version}.exe"], + "add_to_devenv_path": True, + } + ] + else: + download_url = f"https://github.com/llvm/llvm-project/releases/download/llvmorg-{version}/LLVM-{version}-Linux-X64.tar.xz" + download_checksum = "4a5ec53951a584ed36f80240f6fbf8fdd46b4cf6c7ee87cc2d5018dc37caf679" + executables = [ + { + "path": f"bin/clang++", + "checksum": "c57e2928bc629e58da157867bb9af550edfc1195e7b003edfcfecd57faf2b71b", + "symlink": [f"clang++-{version}"], + "add_to_devenv_path": True, + }, + { + "path": f"bin/clang", + "checksum": "c57e2928bc629e58da157867bb9af550edfc1195e7b003edfcfecd57faf2b71b", + "symlink": [f"clang-{version}"], + "add_to_devenv_path": True, + } + ] + + result[-1]['manifests'].append({ + "download_checksum": download_checksum, + "download_url": download_url, + "version": version, + "unzip_method": unzip_method, + "executables": executables, + "add_to_devenv_script": [], + }) + + if is_windows: version = "15.0.7" download_url = f"https://github.com/llvm/llvm-project/releases/download/llvmorg-{version}/LLVM-{version}-win64.exe" @@ -555,13 +602,13 @@ def get_manifest(is_windows): "path": f"bin/clang++.exe", "checksum": "1f523e33de4ce9d591b4eb9bad102f086e8480488148f8db0d5c87056798ce3e", "symlink": [f"clang++-{version}.exe"], - "add_to_devenv_path": True, + "add_to_devenv_path": False, }, { "path": f"bin/clang.exe", "checksum": "1f523e33de4ce9d591b4eb9bad102f086e8480488148f8db0d5c87056798ce3e", "symlink": [f"clang-{version}.exe"], - "add_to_devenv_path": True, + "add_to_devenv_path": False, } ] else: @@ -573,13 +620,13 @@ def get_manifest(is_windows): "path": f"bin/clang++", "checksum": "388be41dc565a891ced9e78da2e89a249ca9b9a26f71a3c912e8ba89585be89c", "symlink": [f"clang++-{version}"], - "add_to_devenv_path": True, + "add_to_devenv_path": False, }, { "path": f"bin/clang", "checksum": "388be41dc565a891ced9e78da2e89a249ca9b9a26f71a3c912e8ba89585be89c", "symlink": [f"clang-{version}"], - "add_to_devenv_path": True, + "add_to_devenv_path": False, } ]