File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
utils/bazel/third_party_build Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 22# See https://llvm.org/LICENSE.txt for license information.
33# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
44load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
5- load("@bazel_skylib//rules:expand_template .bzl", "expand_template ")
5+ load("@bazel_skylib//rules:copy_file .bzl", "copy_file ")
66
77package(
88 default_visibility = ["//visibility:public"],
@@ -20,12 +20,12 @@ config_setting(
2020 flag_values = {":llvm_enable_zlib": "true"},
2121)
2222
23- genrule (
23+ copy_file (
2424 # The input template is identical to the CMake output.
2525 name = "zconf_gen",
26- srcs = [ "zconf.h.in"] ,
27- outs = [ "zconf.h"] ,
28- cmd = "cp $(SRCS) $(OUTS)" ,
26+ src = "zconf.h.in",
27+ out = "zconf.h",
28+ allow_symlink = True ,
2929)
3030
3131cc_library(
You can’t perform that action at this time.
0 commit comments