This change to reflect MLIR's recent addition to LLVM's monorepo. Instead of stripping llvm from the http archive, use build file map to refer to both MLIR and LLVM within llvm-project and remove read-only copy that was temporarily there. Also bump the commit version until after the integration of MLIR into LLVM monorepo. PiperOrigin-RevId: 287547194 Change-Id: I4459b96702dc5eb19b58c7ceaa6cabb16f530a43
27 lines
766 B
Python
27 lines
766 B
Python
# For generating docker images for TensorFlow remote build
|
|
licenses(["notice"]) # Apache 2.0
|
|
|
|
genrule(
|
|
name = "remote-docker-build-cpu",
|
|
srcs = [
|
|
"@llvm-project//llvm:docker", # llvm's docker file group
|
|
],
|
|
outs = ["remote-docker-build-cpu.txt"],
|
|
cmd = " ./$(location remote_docker_build.sh) -c -f $$(realpath $<) > $@",
|
|
local = 1,
|
|
tags = ["manual"],
|
|
tools = ["remote_docker_build.sh"],
|
|
)
|
|
|
|
genrule(
|
|
name = "remote-docker-build-gpu",
|
|
srcs = [
|
|
"@llvm-project//llvm:docker", # llvm's docker file group
|
|
],
|
|
outs = ["remote-docker-build-gpu.txt"],
|
|
cmd = " ./$(location remote_docker_build.sh) -g -f $$(realpath $<) > $@",
|
|
local = 1,
|
|
tags = ["manual"],
|
|
tools = ["remote_docker_build.sh"],
|
|
)
|