mirror of
https://github.com/falcosecurity/falco.git
synced 2025-07-10 13:13:40 +00:00
fix: make gRPC with j equal 1 to avoid circleci to oom
Co-authored-by: Lorenzo Fontana <lo@linux.com> Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
parent
a231491122
commit
db7cc518db
@ -39,7 +39,6 @@ jobs:
|
|||||||
- image: falcosecurity/falco-builder:dynamic-builds # todo(fntlnz): replace this with the actual image once PR #968 is merged
|
- image: falcosecurity/falco-builder:dynamic-builds # todo(fntlnz): replace this with the actual image once PR #968 is merged
|
||||||
environment:
|
environment:
|
||||||
BUILD_TYPE: "release"
|
BUILD_TYPE: "release"
|
||||||
MAKE_JOBS: "1"
|
|
||||||
steps:
|
steps:
|
||||||
- checkout:
|
- checkout:
|
||||||
path: /source/falco
|
path: /source/falco
|
||||||
|
@ -92,8 +92,6 @@ else()
|
|||||||
|
|
||||||
get_filename_component(PROTOC_DIR ${PROTOC} PATH)
|
get_filename_component(PROTOC_DIR ${PROTOC} PATH)
|
||||||
|
|
||||||
set(GRPC_BUILD_FLAGS ${PROCESSOUR_COUNT_MAKE_FLAG})
|
|
||||||
|
|
||||||
ExternalProject_Add(
|
ExternalProject_Add(
|
||||||
grpc
|
grpc
|
||||||
GIT_REPOSITORY https://github.com/grpc/grpc.git
|
GIT_REPOSITORY https://github.com/grpc/grpc.git
|
||||||
@ -110,7 +108,6 @@ else()
|
|||||||
LDFLAGS=-static
|
LDFLAGS=-static
|
||||||
PATH=${PROTOC_DIR}:$ENV{PATH}
|
PATH=${PROTOC_DIR}:$ENV{PATH}
|
||||||
make
|
make
|
||||||
${GRPC_BUILD_FLAGS}
|
|
||||||
grpc_cpp_plugin
|
grpc_cpp_plugin
|
||||||
static_cxx
|
static_cxx
|
||||||
static_c)
|
static_c)
|
||||||
|
Loading…
Reference in New Issue
Block a user