Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pjreiniger committed Dec 29, 2023
1 parent a3b7485 commit 403d21c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 24 deletions.
2 changes: 0 additions & 2 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ REMOTE_JDK_REPOS = [
"roboriojdk_win",
]

print(REMOTE_JDK_REPOS)

[use_repo(
deps,
repo,
Expand Down
9 changes: 0 additions & 9 deletions generate/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
load("@rules_python//python:defs.bzl", "py_binary")

#py_library(
# name = "get_toolchain_dependencies",
# srcs = ["get_toolchain_dependencies.py"],
# visibility = ["//visibility:public"],
# deps = ["@bzlmodrio-gentool//bazelrio_gentool"],
#)

py_binary(
name = "generate",
srcs = ["generate.py"],
visibility = ["//visibility:public"],
deps = [
# ":get_toolchain_dependencies",
"@bzlmodrio-gentool//bazelrio_gentool",
],
)
Expand All @@ -22,7 +14,6 @@ py_binary(
srcs = ["publish.py"],
visibility = ["//visibility:public"],
deps = [
# ":get_toolchain_dependencies",
"@bzlmodrio-gentool//bazelrio_gentool",
],
)
Expand Down
3 changes: 0 additions & 3 deletions generate/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ def main():
template_files,
REPO_DIR,
os.path.join(SCRIPT_DIR, "templates"),
# group=group,
# repos=repos,
# libraries=libraries,
bazel_dependencies=get_bazel_dependencies(),
mandatory_dependencies=mandatory_dependencies,
)
Expand Down
10 changes: 0 additions & 10 deletions maven_deps.bzl
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")

# load("@bazel_tools//tools/jdk:remote_java_repository.bzl", "remote_java_repository")
load("@rules_java//toolchains:remote_java_repository.bzl", "remote_java_repository")

def __setup_jdk_dependencies(mctx):
Expand Down Expand Up @@ -41,14 +39,6 @@ def __setup_jdk_dependencies(mctx):
strip_prefix = "jdk-17.0.4.1+1",
)

maybe(
http_file,
"roborio_jre",
url = "https://github.com/wpilibsuite/frc-openjdk-roborio/releases/download/v2023-17.0.5u7-1/frc2023-openjdk-17-jre_17.0.5u7-1_cortexa9-vfpv3.ipk",
sha256 = "d9003bcdaa8da0d4e1631f0dc6172495a93894d48c68b7f6cefbf4a05a0a67f2",
downloaded_file_path = "roborio_jre",
)

def setup_legacy_setup_jdk_dependencies():
__setup_jdk_dependencies(None)

Expand Down

0 comments on commit 403d21c

Please sign in to comment.