mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-26 07:59:37 -05:00
bdba9d8ba6
* build: correct toolchain order * build: gazelle-update-repos * build: use pregenerated proto for dependencies * update bazeldnf * deps: tpm simulator * Update Google trillian module * cli: add stamping as alternative build info source * bazel: add go_test wrappers, mark special tests and select testing deps * deps: add libvirt deps * deps: go-libvirt patches * deps: cloudflare circl patches * bazel: add go_test wrappers, mark special tests and select testing deps * bazel: keep gazelle overrides * bazel: cleanup bazelrc * bazel: switch CMakeLists.txt to use bazel * bazel: fix injection of version information via stamping * bazel: commit all build files * dev-docs: document bazel usage * deps: upgrade zig-cc for go 1.20 * bazel: update Perl for macOS arm64 & Linux arm64 support * bazel: use static perl toolchain for OpenSSL * bazel: use static protobuf (protoc) toolchain * deps: add git and go to nix deps Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
40 lines
1.5 KiB
Python
40 lines
1.5 KiB
Python
"""A module defining the third party dependency OpenSSL"""
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
|
|
|
|
def openssl_repositories():
|
|
maybe(
|
|
http_archive,
|
|
name = "org_openssl",
|
|
build_file = Label("//3rdparty/bazel/org_openssl:BUILD.openssl.bazel"),
|
|
sha256 = "c5ac01e760ee6ff0dab61d6b2bbd30146724d063eb322180c6f18a6f74e4b6aa",
|
|
strip_prefix = "openssl-1.1.1s",
|
|
urls = [
|
|
"https://www.openssl.org/source/openssl-1.1.1s.tar.gz",
|
|
"https://github.com/openssl/openssl/archive/OpenSSL_1_1_1s.tar.gz",
|
|
],
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "nasm",
|
|
build_file = Label("//3rdparty/bazel/org_openssl:BUILD.nasm.bazel"),
|
|
sha256 = "f5c93c146f52b4f1664fa3ce6579f961a910e869ab0dae431bd871bdd2584ef2",
|
|
strip_prefix = "nasm-2.15.05",
|
|
urls = [
|
|
"https://mirror.bazel.build/www.nasm.us/pub/nasm/releasebuilds/2.15.05/win64/nasm-2.15.05-win64.zip",
|
|
"https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/win64/nasm-2.15.05-win64.zip",
|
|
],
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "rules_perl",
|
|
sha256 = "24957cea0a43ee70bff9b78256698a0a11e89455483b30b4c41d1f6bfd20d269",
|
|
strip_prefix = "rules_perl-db026ffa0d89fdff97de0c27199d84bd2c3b696c",
|
|
urls = [
|
|
"https://github.com/malt3/rules_perl/archive/db026ffa0d89fdff97de0c27199d84bd2c3b696c.tar.gz",
|
|
],
|
|
)
|