Skip to content

Commit

Permalink
return
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-skrodzka committed Nov 8, 2024
1 parent eb6de5d commit 42d370d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 44 deletions.
15 changes: 0 additions & 15 deletions tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,3 @@ proto_library(
"@com_google_protobuf//:descriptor_proto",
],
)

java_runtime(
name = "jdk",
srcs = select({
"@bazel_tools//src/conditions:linux_x86_64": ["@jdk21-linux//:jdk"],
"@bazel_tools//src/conditions:darwin_x86_64": ["@jdk21-osx//:jdk"],
"@bazel_tools//src/conditions:darwin": ["@jdk21-osx//:jdk"],
}),
java = select({
"@bazel_tools//src/conditions:linux_x86_64": "@jdk21-linux//:java",
"@bazel_tools//src/conditions:darwin_x86_64": "@jdk21-osx//:java",
"@bazel_tools//src/conditions:darwin": "@jdk21-osx//:java",
}),
visibility = ["//visibility:public"],
)
29 changes: 0 additions & 29 deletions tests/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -82,35 +82,6 @@ load("@io_tweag_rules_nixpkgs//nixpkgs:repositories.bzl", "rules_nixpkgs_depende

rules_nixpkgs_dependencies()

jdk_build_file_content = """
filegroup(
name = "jdk",
srcs = glob(["**/*"]),
visibility = ["//visibility:public"],
)
filegroup(
name = "java",
srcs = ["bin/java"],
visibility = ["//visibility:public"],
)
"""

http_archive(
name = "jdk21-linux",
build_file_content = jdk_build_file_content,
sha256 = "82f64c53acaa045370d6762ebd7441b74e6fda14b464d54d1ff8ca941ec069e6",
strip_prefix = "jdk-21+35",
url = "https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21+35/OpenJDK21U-jdk_x64_linux_hotspot_21_35.tar.gz",
)

http_archive(
name = "jdk21-osx",
build_file_content = jdk_build_file_content,
sha256 = "25f3d8c875255362a3e31a0783f9f0422de01f8e4b515c45bd68e43ef3812a9d",
strip_prefix = "jdk-21+35/Contents/Home",
url = "https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21+35/OpenJDK21U-jdk_x64_mac_hotspot_21_35.tar.gz",
)

# --

load("@io_tweag_rules_nixpkgs//nixpkgs:nixpkgs.bzl", "nixpkgs_cc_configure", "nixpkgs_local_repository")
Expand Down

0 comments on commit 42d370d

Please sign in to comment.