tis-llvm icon

llvm

Paquet d'installation silencieuse pour llvm

23.1.6-2

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-llvm
  • name: llvm
  • version: 23.1.6-2
  • maintainer: Amel FRADJ
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 639.70 Mo

package           : tis-llvm
version           : 23.1.6-2
architecture      : x64
section           : base
priority          : optional
name              : llvm
categories        : 
maintainer        : Amel FRADJ
description       : The LLVM Project is a collection of modular and reusable compiler and toolchain technologies
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Le projet LLVM est un ensemble de technologies modulaires et réutilisables de compilateurs et de chaînes d'outils
description_pl    : Projekt LLVM jest zbiorem modułowych kompilatorów wielokrotnego użytku i technologii toolchain
description_de    : Das LLVM-Projekt ist eine Sammlung von modularen und wiederverwendbaren Compiler- und Toolchain-Technologien
description_es    : El proyecto LLVM es una colección de tecnologías de compiladores y cadenas de herramientas modulares y reutilizables
description_pt    : O Projeto LLVM é uma coleção de tecnologias modulares e reutilizáveis de compiladores e cadeias de ferramentas
description_it    : Il progetto LLVM è una raccolta di tecnologie modulari e riutilizzabili per compilatori e toolchain
description_nl    : Het LLVM Project is een verzameling van modulaire en herbruikbare compiler- en toolchaintechnologieën
description_ru    : Проект LLVM - это коллекция модульных и многократно используемых технологий компиляторов и инструментальных цепочек
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : af21eebf-d3a5-4bbf-bcc0-c5923d520136
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 4acf467171987fbdd8bd05eef15fd2a5f395de21078c7dd7375354f64e93ebf2
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-11-17T20:37:03.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : r/DKOaxFRK/OLF3HsY6OHdYwJaO5dbH+CVzX76MJTpcgxNau9ka+hCWjZ+zidonMcCI+xmpXf58oel4PVddCyVTPAvIXcXgCcOsVqT6rKRx9A3rI9gYYsH0wLTCuH7ot7tdEAhJ9O4TL1tjyj/BcsqshtjP1z1Zy0N9h+cHO446RFQ7WSLSj4zIAaH4jSSAevYB8J69RqpydlhgoWbVaea7kx8uByOvqlPL967zeQDufVGuoG/pi1KsU5kQsQjtqroEOnQJZM/GPbYGItJAihQFXHZkOYVKJ/VRoTN/UiZVJMLrE12egJGRtXw8B5JqWZtV4v7fhjUlPwuADFrcXcg==

# -*- coding: utf-8 -*-
from setuphelpers import *

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
{
   "key":"LLVM",
   "name":"LLVM",
   "version":"18.1.6",
   "install_date":"",
   "install_location":"",
   "uninstall_string":"C:\\Program Files\\LLVM\\Uninstall.exe",
   "publisher":"LLVM",
   "system_component":0,
   "win64":false
  }

"""
def install():
    bin_name = glob.glob("LLVM*.msi")[0]

    install_msi_if_needed(
        bin_name,
        name="LLVM",
        min_version=control.get_software_version()
    )
    wait_uninstallkey_present(name="LLVM")

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *

def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name

    dict_arch = {
        "x64": "-win64.msi",
        "arm64": "-woa64.msi"
    }    
    url_api = "https://api.github.com/repos/llvm/llvm-project/releases/latest"

    print("API used is: %s" % url_api)
    json_load = wgets(url_api, proxies=proxies, as_json=True)

    for download in json_load["assets"]:
        if dict_arch[control.architecture] in download["name"]:
            download_url = download["browser_download_url"]
            version = download["name"].split('-')[-2]
            latest_bin = download["name"]
            latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
            break

    # Downloading latest binaries
    print(f"Latest {app_name} version is: {version}")
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: {latest_bin}")
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: {latest_bin}")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

81f7eb520ca698eb2d5cd8bc4b8f24f7add9ed66ed40a6f722a6e6f060737c00 : LLVM-23.1.6-win64.msi
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
9a8f94071e594de58a3ba88742b7f2a34cbc859bfb6bda0688bae3c77ebe0b23 : WAPT/control
4acf467171987fbdd8bd05eef15fd2a5f395de21078c7dd7375354f64e93ebf2 : WAPT/icon.png
3fa7e40a1c61a98990fb20dfacb341ea7c09c765191766ef142716b499b26011 : luti.json
d41f49a7bac0579f82c6669e9932a2e449356ccc5e743ad5436991137d04d9d0 : setup.py
9153e8e4fd2eaec85ea141e5d97b843ffe916b388df91002d4c0d48f60e764b5 : update_package.py