Skip to content

Commit

Permalink
fixing precompilation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexR2D2 committed Feb 20, 2023
1 parent 749c091 commit 033494e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/precompile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ jobs:
gcc-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu \
gcc-s390x-linux-gnu g++-s390x-linux-gnu
- name: Set Swap Space
if: matrix.os == 'ubuntu-20.04'
uses: pierotofy/set-swap-space@master
with:
swap-size-gb: 10

- name: Create precompiled library
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SRC_DIR = c_src

CXXFLAGS = -O3 -std=c++11

HEADERS_DIRS = $(sort $(dir $(shell find -E $(SRC_DIR) -regex ".*\.(hpp|h)")))
HEADERS_DIRS = $(sort $(dir $(shell find $(SRC_DIR)/* | grep .h)))

CXXFLAGS += -I"$(ERTS_INCLUDE_DIR)"
CXXFLAGS += $(foreach header, $(HEADERS_DIRS), -I"$(header)")
Expand Down

0 comments on commit 033494e

Please sign in to comment.