
This patch provides a draft overlay to support compilation of llvm libc with Bazel. Tested on linux x86-64 with ``` cd git/llvm-project/utils/bazel bazelisk-linux-amd64 build --sandbox_base=/dev/shm --config=generic_clang @llvm-project//libc:all ``` Differential Revision: https://reviews.llvm.org/D114712
10 lines
347 B
Python
10 lines
347 B
Python
# This file is licensed under the Apache License v2.0 with LLVM Exceptions.
|
|
# See https://llvm.org/LICENSE.txt for license information.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
"""Defines global variables that lists target cpus"""
|
|
|
|
PLATFORM_CPU_ARM64 = ("@platforms//cpu:arm64")
|
|
|
|
PLATFORM_CPU_X86_64 = ("@platforms//cpu:x86_64")
|