From 406c14dd8696c83b97c075442a2c581030d9d4f0 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Mon, 10 Feb 2025 16:50:20 +0100 Subject: [PATCH] ci(azure-pipelines): fix STACK_CORES --- .azure-pipelines/templates/jobs/setup_dependencies.yaml | 2 +- azure-pipelines.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.azure-pipelines/templates/jobs/setup_dependencies.yaml b/.azure-pipelines/templates/jobs/setup_dependencies.yaml index ad31ed1a4..322175ddd 100644 --- a/.azure-pipelines/templates/jobs/setup_dependencies.yaml +++ b/.azure-pipelines/templates/jobs/setup_dependencies.yaml @@ -54,6 +54,6 @@ jobs: parameters: makeJob: dependencies makeService: ${{parameters.serviceName}} - makeVars: 'CPU_CORES=${{parameters.dependenciesBuildCores}} STACK_CORES=${{parameters.dependenciesBuildCores}}' + makeVars: 'CPU_CORES=${{parameters.dependenciesBuildCores}} STACK_CORES=-j${{parameters.dependenciesBuildCores}}' # (Note: a post-job for updating the dependency cache is automatically created, so no further step is due here.) \ No newline at end of file diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 5d7823bd0..57d7588c9 100755 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -114,7 +114,7 @@ stages: parameters: makeJob: compile makeService: ${{service.name}} - makeVars: 'CPU_CORES=${{service.buildCores}} STACK_CORES=${{service.buildCores}}' + makeVars: 'CPU_CORES=${{service.buildCores}} STACK_CORES=-j${{service.buildCores}}' - task: CopyFiles@2 displayName: Prepare ${{service.name}} build artifacts for upload inputs: @@ -170,12 +170,12 @@ stages: parameters: makeJob: lint makeService: ${{service.name}} - makeVars: 'CPU_CORES=${{service.buildCores}} STACK_CORES=${{service.buildCores}}' + makeVars: 'CPU_CORES=${{service.buildCores}} STACK_CORES=-j${{service.buildCores}}' - template: .azure-pipelines/templates/steps/make.yaml parameters: makeJob: test makeService: ${{service.name}} - makeVars: 'CPU_CORES=${{service.buildCores}} STACK_CORES=${{service.buildCores}}' + makeVars: 'CPU_CORES=${{service.buildCores}} STACK_CORES=-j${{service.buildCores}}' - task: Docker@2 displayName: Logout from container registry inputs: