Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6948791 commit bd1a78dCopy full SHA for bd1a78d
python/repositories.bzl
@@ -59,12 +59,14 @@ def _python_repository_impl(rctx):
59
sha256 = rctx.attr.zstd_sha256,
60
)
61
working_directory = "zstd-{version}".format(version = rctx.attr.zstd_version)
62
- rctx.execute(
+ make_result = rctx.execute(
63
["make", "--jobs=4"],
64
timeout = 600,
65
quiet = True,
66
working_directory = working_directory,
67
68
+ if make_result.return_code:
69
+ fail(make_result.stderr)
70
zstd = "{working_directory}/zstd".format(working_directory = working_directory)
71
unzstd = "./unzstd"
72
rctx.symlink(zstd, unzstd)
0 commit comments