Functions | |
def | CopyFile (src, dst) |
def | DownloadAndUnpack (url, output_dir) |
def | DownloadUrl (url, output_file) |
def | EnsureDirExists (path) |
def | main () |
def | ReadStampFile (path=STAMP_FILE) |
def | RmTree (dir) |
def | UpdateClang () |
def | WriteStampFile (s, path=STAMP_FILE) |
Variables | |
CDS_URL | |
string | CLANG_REVISION = 'llvmorg-14-init-6722-g0fbd3aad' |
int | CLANG_SUB_REVISION = 2 |
LLVM_BUILD_DIR = os.path.join(THIS_DIR, 'llvm-build') | |
string | PACKAGE_VERSION = '%s-%s' % (CLANG_REVISION, CLANG_SUB_REVISION) |
STAMP_FILE = os.path.join(LLVM_BUILD_DIR, 'cr_build_revision') | |
THIS_DIR = os.path.abspath(os.path.dirname(__file__)) | |
def update_clang.CopyFile | ( | src, | |
dst | |||
) |
Copy a file from src to dst.
Definition at line 129 of file update_clang.py.
def update_clang.DownloadAndUnpack | ( | url, | |
output_dir | |||
) |
Definition at line 92 of file update_clang.py.
def update_clang.DownloadUrl | ( | url, | |
output_file | |||
) |
Download url into output_file.
Definition at line 46 of file update_clang.py.
def update_clang.EnsureDirExists | ( | path | ) |
Definition at line 86 of file update_clang.py.
def update_clang.main | ( | ) |
Definition at line 167 of file update_clang.py.
def update_clang.ReadStampFile | ( | path = STAMP_FILE | ) |
Return the contents of the stamp file, or '' if it doesn't exist.
Definition at line 100 of file update_clang.py.
def update_clang.RmTree | ( | dir | ) |
Delete dir.
Definition at line 117 of file update_clang.py.
def update_clang.UpdateClang | ( | ) |
Definition at line 135 of file update_clang.py.
def update_clang.WriteStampFile | ( | s, | |
path = STAMP_FILE |
|||
) |
Write s to the stamp file.
Definition at line 109 of file update_clang.py.
update_clang.CDS_URL |
Definition at line 42 of file update_clang.py.
string update_clang.CLANG_REVISION = 'llvmorg-14-init-6722-g0fbd3aad' |
Definition at line 31 of file update_clang.py.
int update_clang.CLANG_SUB_REVISION = 2 |
Definition at line 32 of file update_clang.py.
update_clang.LLVM_BUILD_DIR = os.path.join(THIS_DIR, 'llvm-build') |
Definition at line 38 of file update_clang.py.
string update_clang.PACKAGE_VERSION = '%s-%s' % (CLANG_REVISION, CLANG_SUB_REVISION) |
Definition at line 34 of file update_clang.py.
update_clang.STAMP_FILE = os.path.join(LLVM_BUILD_DIR, 'cr_build_revision') |
Definition at line 39 of file update_clang.py.
update_clang.THIS_DIR = os.path.abspath(os.path.dirname(__file__)) |
Definition at line 37 of file update_clang.py.