• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2022 Huawei Technologies Co., Ltd.
2# Licensed under the Mulan PSL v2.
3# You can use this software according to the terms and conditions of the Mulan
4# PSL v2.
5# You may obtain a copy of Mulan PSL v2 at:
6#     http://license.coscl.org.cn/MulanPSL2
7# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
8# KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
9# NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
10# See the Mulan PSL v2 for more details.
11
12# config llvm compiler
13CC      := clang
14CXX     := clang++
15AS      := llvm-as
16LD      := ld.lld
17CPP     := clang-cpp
18# disable ar creating debug
19AR      := llvm-ar 2>/dev/null
20NM      := llvm-nm
21OBJCOPY := llvm-objcopy
22READELF := llvm-readelf
23STRIP   := llvm-strip
24RANLIB  := llvm-ranlib
25