llvm_project.bzl 509 B

1234567891011121314151617
  1. # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. # Exceptions. See /LICENSE for license information.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. """Apply llvm_configure to produce a llvm-project repo."""
  5. load("@llvm-raw//utils/bazel:configure.bzl", "llvm_configure")
  6. llvm_project = module_extension(
  7. implementation = lambda ctx: llvm_configure(
  8. name = "llvm-project",
  9. targets = [
  10. "AArch64",
  11. "X86",
  12. ],
  13. ),
  14. )