Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/buildstream_plugins/elements/cmake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ variables:

cmake -B%{build-dir} -H"%{conf-root}" -G"%{generator}" %{cmake-args}

make: cmake --build %{build-dir} -- ${JOBS}
make-install: env DESTDIR="%{install-root}" cmake --build %{build-dir} --target install
make: cmake --build %{build-dir}
make-install: env DESTDIR="%{install-root}" cmake %{build-dir} --install

# Set this if the sources cannot handle parallelization.
#
Expand Down Expand Up @@ -72,9 +72,9 @@ config:

# Use max-jobs CPUs for building and enable verbosity
environment:
JOBS: -j%{max-jobs}
CMAKE_BUILD_PARALLEL_LEVEL: %{max-jobs}

# And dont consider JOBS as something which may
# And dont consider CMAKE_BUILD_PARALLEL_LEVEL as something which may
# affect build output.
environment-nocache:
- JOBS
- CMAKE_BUILD_PARALLEL_LEVEL