Skip to content

Commit

Permalink
Cortex : Work around problem with parallel builds
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaddon committed Feb 7, 2023
1 parent 074733e commit 92abac3
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions Cortex/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,17 @@

"commands" : [

"scons install"
# Build first.
"scons {args}",
# The install separately. This avoids a problem with parallel builds - see
# https://github.com/ImageEngine/cortex/issues/1308.
"scons install {args}",

],

"variables" : {

"args" :
" -j {jobs}"
" CXX=`which g++`"
" CXXSTD=c++{c++Standard}"
Expand Down Expand Up @@ -56,7 +66,9 @@
" {extraArgs}"
" SAVE_OPTIONS=gaffer.options",

],
"extraArgs" : "",

},

"manifest" : [

Expand All @@ -70,12 +82,6 @@

],

"variables" : {

"extraArgs" : "",

},

"platform:macos" : {

"variables" : {
Expand Down

0 comments on commit 92abac3

Please sign in to comment.