Skip to content

Commit bae530c

Browse files
authored
Remove Bazel as a build system. (#2144)
Bazel was the build system used by VirusTotal. Now that VirusTotal has moved to YARA-X, maintaining the Bazel infrastructure working is painful, specially with the backward incompatible changes introduced in recent versions of Bazel.
1 parent 93d1de6 commit bae530c

17 files changed

+68
-1229
lines changed

.bazelrc

-2
This file was deleted.

.github/workflows/build.yml

-21
Original file line numberDiff line numberDiff line change
@@ -104,27 +104,6 @@ jobs:
104104
if: ${{ failure() }}
105105
run: cat test-suite.log
106106

107-
bazel-build:
108-
# The ubuntu-20.04 virtual environment has Bazel installed, see:
109-
# https://github.com/actions/virtual-environments
110-
runs-on: ubuntu-20.04
111-
steps:
112-
# Caches and restores the bazelisk download directory.
113-
# - name: Cache bazelisk download
114-
# uses: actions/cache@v4
115-
# env:
116-
# cache-name: bazel-cache
117-
# with:
118-
# path: ~/.cache/bazelisk
119-
# key: ${{ runner.os }}-${{ env.cache-name }}-${{ github.ref }}
120-
# restore-keys: |
121-
# ${{ runner.os }}-${{ env.cache-name }}
122-
- uses: actions/checkout@v2
123-
- name: Build
124-
run: bazel build @jansson//... //tests/...
125-
- name: Run tests
126-
run: bazel test --test_output=errors //tests/...
127-
128107
bigendian:
129108
runs-on: ubuntu-latest
130109
steps:

BUILD.bazel

-143
This file was deleted.

Makefile.am

+1
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ yara_SOURCES = \
290290
cli/yara.c
291291

292292
yara_LDADD = libyara.la
293+
yara_LDFLAGS = -static
293294

294295
yarac_SOURCES = \
295296
cli/args.c \

WORKSPACE.bazel

-51
This file was deleted.

bazel/jansson.BUILD

-99
This file was deleted.

bazel/jansson.bzl

-38
This file was deleted.

0 commit comments

Comments
 (0)