Skip to content

Commit

Permalink
Fix valgrind and add it to gh ci
Browse files Browse the repository at this point in the history
  • Loading branch information
garazdawi committed Feb 20, 2025
1 parent 02723cc commit a5fcad1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ jobs:
BASE_BRANCH: ${{ env.BASE_BRANCH }}
- name: Build Erlang/OTP flavors and types
run: |
TYPES="opt debug lcnt"
TYPES="opt debug lcnt asan gcov valgrind"
FLAVORS="emu jit"
for TYPE in ${TYPES}; do
for FLAVOR in ${FLAVORS}; do
Expand Down
2 changes: 1 addition & 1 deletion erts/emulator/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ else

ifeq ($(TYPE),valgrind)
TYPEMARKER = .valgrind
TYPE_FLAGS = @DEBUG_CFLAGS@ -DVALGRIND -DNO_JUMP_TABLE
TYPE_FLAGS = @DEBUG_CFLAGS@ -DVALGRIND -DNO_JUMP_TABLE -Wno-maybe-uninitialized
TYPE_CXXFLAGS = @DEBUG_CXXFLAGS@
ENABLE_ALLOC_TYPE_VARS += valgrind
else
Expand Down
2 changes: 1 addition & 1 deletion lib/public_key/c_src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ endif

_create_dirs := $(shell mkdir -p $(OBJDIR) $(LIBDIR))

debug opt valgrind lcnt asan: $(DIRS) $(PUBKEY_LIB)
debug opt valgrind lcnt asan gcov: $(DIRS) $(PUBKEY_LIB)

$(OBJDIR):
-@mkdir -p $(OBJDIR)
Expand Down

0 comments on commit a5fcad1

Please sign in to comment.