xref: /aosp_15_r20/external/toolchain-utils/llvm_tools/llvm_next.py (revision 760c253c1ed00ce9abd48f8546f08516e57485fe)
1*760c253cSXin Li# Copyright 2024 The ChromiumOS Authors
2*760c253cSXin Li# Use of this source code is governed by a BSD-style license that can be
3*760c253cSXin Li# found in the LICENSE file.
4*760c253cSXin Li
5*760c253cSXin Li"""Contains useful constants for testing LLVM."""
6*760c253cSXin Li
7*760c253cSXin Lifrom typing import Iterable
8*760c253cSXin Li
9*760c253cSXin Liimport cros_cls
10*760c253cSXin Li
11*760c253cSXin Li
12*760c253cSXin LiLLVM_NEXT_HASH = "28a8f1b901389c1e478407440f7ccf2d41c71b64"
13*760c253cSXin LiLLVM_NEXT_REV = 516547
14*760c253cSXin Li
15*760c253cSXin Li# NOTE: Always specify patch-sets for CLs. We don't want uploads by untrusted
16*760c253cSXin Li# users to turn into bot invocations w/ untrusted input.
17*760c253cSXin Li
18*760c253cSXin Li# A list of CLs that constitute the current llvm-next roll.
19*760c253cSXin Li# This is taken as the set of CLs that will be landed simultaneously in order
20*760c253cSXin Li# to make llvm-next go live.
21*760c253cSXin Li#
22*760c253cSXin Li# Generally speaking, for simple rolls, this should just contain a link to the
23*760c253cSXin Li# Manifest update CL.
24*760c253cSXin LiLLVM_NEXT_TESTING_CLS: Iterable[cros_cls.ChangeListURL] = ()
25*760c253cSXin Li
26*760c253cSXin Li# The CL used to disable -Werror, and report the results.
27*760c253cSXin LiDISABLE_WERROR_CL = cros_cls.ChangeListURL(
28*760c253cSXin Li    cl_id=2599698,
29*760c253cSXin Li    patch_set=5,
30*760c253cSXin Li)
31