Skip to content

Commit

Permalink
[NFC] Project maintenance (cruise-automation#65)
Browse files Browse the repository at this point in the history
- [x] Fix googletest sha warning
- [x] Bump pip deps
- [x] Move bazelrc common configs up top
  • Loading branch information
sjain-stanford authored Apr 9, 2024
1 parent 36f617e commit ea40935
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 23 deletions.
12 changes: 7 additions & 5 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Also available under a BSD-style license. See LICENSE.

# TODO: migrate all dependencies from WORKSPACE to MODULE.bazel
# https://bazel.build/external/migration
common --noenable_bzlmod

# Automatically detect host platform to pick config
common --enable_platform_specific_config

###############################################################################
# Options for "generic_clang" builds: these options should generally apply to
# builds using a Clang-based compiler, and default to the `clang` executable on
Expand All @@ -28,8 +35,6 @@ build:generic_clang --cxxopt=-Wno-range-loop-analysis --host_cxxopt=-Wno-range-l
# not the point of the Bazel build to catch usage of deprecated APIs.
build:generic_clang --copt=-Wno-deprecated --host_copt=-Wno-deprecated

# Automatically detect host platform to pick config
common --enable_platform_specific_config

# lld links faster than other linkers. Assume that anybody using clang on linux
# also has lld available.
Expand All @@ -45,9 +50,6 @@ build:dbg --compilation_mode=dbg
# GDB builds in dbg mode
build:gdb --config=dbg

# TODO: migrate all dependencies from WORKSPACE to MODULE.bazel
# https://bazel.build/external/migration
common --noenable_bzlmod

# Continue running tests for targets that build without having
# AOT compile genrules failing to build from terminating the rest
Expand Down
1 change: 1 addition & 0 deletions deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def third_party_deps():

http_archive(
name = "com_google_googletest",
sha256 = "b976cf4fd57b318afdb1bdb27fc708904b3e4bed482859eb94ba2b4bdd077fe2",
urls = ["https://github.com/google/googletest/archive/f8d7d77c06936315286eb55f8de22cd23c188571.zip"],
strip_prefix = "googletest-f8d7d77c06936315286eb55f8de22cd23c188571",
)
Expand Down
36 changes: 18 additions & 18 deletions requirements_lock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
#
--find-links https://github.com/llvm/torch-mlir-release/releases/expanded_assets/dev-wheels

filelock==3.13.1 \
--hash=sha256:521f5f56c50f8426f5e03ad3b281b490a87ef15bc6c526f168290f0c7148d44e \
--hash=sha256:57dbda9b35157b05fb3e58ee91448612eb674172fab98ee235ccb0b5bee19a1c
filelock==3.13.3 \
--hash=sha256:5ffa845303983e7a0b7ae17636509bc97997d58afeafa72fb141a17b152284cb \
--hash=sha256:a79895a25bbefdf55d1a2a0a80968f7dbb28edcd6d4234a0afb3f37ecde4b546
# via
# torch
# triton
fsspec==2024.2.0 \
--hash=sha256:817f969556fa5916bc682e02ca2045f96ff7f586d45110fcb76022063ad2c7d8 \
--hash=sha256:b6ad1a679f760dda52b1168c859d01b7b80648ea6f7f7c7f5a8a91dc3f3ecb84
fsspec==2024.3.1 \
--hash=sha256:918d18d41bf73f0e2b261824baeb1b124bcf771767e3a26425cd7dec3332f512 \
--hash=sha256:f39780e282d7d117ffb42bb96992f8a90795e4d0fb0f661a70ca39fe9c43ded9
# via torch
jinja2==3.1.3 \
--hash=sha256:7d6d50dd97d52cbc355597bd845fabfbac3f551e1f99619e39a35ce8c370b5fa \
Expand Down Expand Up @@ -86,9 +86,9 @@ mpmath==1.3.0 \
--hash=sha256:7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f \
--hash=sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c
# via sympy
networkx==3.2.1 \
--hash=sha256:9f1bb5cf3409bf324e0a722c20bdb4c20ee39bf1c30ce8ae499c8502b0b5e0c6 \
--hash=sha256:f18c69adc97877c42332c170849c96cefa91881c99a7cb3e95b7c659ebdc1ec2
networkx==3.3 \
--hash=sha256:0c127d8b2f4865f59ae9cb8aafcd60b5c70f3241ebd66f7defad7c4ab90126c9 \
--hash=sha256:28575580c6ebdaf4505b22c6256a2b9de86b316dc63ba9e93abde3d78dfdbcf2
# via torch
numpy==1.26.4 \
--hash=sha256:03a8c78d01d9781b28a6989f6fa1bb2c4f2d51201cf99d3dd875df6fbd96b23b \
Expand Down Expand Up @@ -138,17 +138,17 @@ sympy==1.12 \
--hash=sha256:c3588cd4295d0c0f603d0f2ae780587e64e2efeedb3521e46b9bb1d08d184fa5 \
--hash=sha256:ebf595c8dac3e0fdc4152c51878b498396ec7f30e7a914d6071e674d49420fb8
# via torch
torch==2.3.0.dev20240307+cpu \
--hash=sha256:a2f80665c1a677f30f285ee3470425e3880fbcf32f440f1ed243677bcd9e726c \
--hash=sha256:e4287a72966b9d9922372aae4ee8d2ef26121590b908ba1f604139c1079eb0ee
torch==2.4.0.dev20240401+cpu \
--hash=sha256:1e6e8f79dd48b7379fa9f0cd2519035d17b862de67c5071b71ea863b2044600a \
--hash=sha256:927238d97719242dc5ac0052334c0014d1b22bd48723ba748430002716114d5a
# via
# -r requirements.txt
# torch-mlir
torch-mlir==20240314.38 \
--hash=sha256:e8eba263428ab0a53d06a2653e880a0641990a24106a97a42fe736b669aeb9f4 \
--hash=sha256:fbc614ad2186766e6060b086d6744608f7d7066b9f9d35bf2fc4bfa4e5d270c8
torch-mlir==20240409.64 \
--hash=sha256:4d21b8ad7a9ecdf73be6c27e54670709388d159a212f1ee17f92a579b5e86ac1 \
--hash=sha256:885bf40dd74fef46b8fbc7442baac255779cda8835e18face54c93725a7c756b
# via -r requirements.txt
typing-extensions==4.10.0 \
--hash=sha256:69b1a937c3a517342112fb4c6df7e72fc39a38e7891a5730ed4985b5214b5475 \
--hash=sha256:b0abd7c89e8fb96f98db18d86106ff1d90ab692004eb746cf6eda2682f91b3cb
typing-extensions==4.11.0 \
--hash=sha256:83f085bd5ca59c80295fc2a82ab5dac679cbe02b9f33f7d83af68e241bea51b0 \
--hash=sha256:c1f94d72897edaf4ce775bb7558d5b79d8126906a14ea5ed1635921406c0387a
# via torch

0 comments on commit ea40935

Please sign in to comment.