Skip to content

Commit

Permalink
Fix missed env vars for the 2-nd stage of the LLDB remote-linux build…
Browse files Browse the repository at this point in the history
…ers. (#321)

Pass missed environment variables also into the 2-nd stage of the
builds.
  • Loading branch information
vvereschaka authored Nov 27, 2024
1 parent c2fe2ec commit 990bdae
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions buildbot/osuosl/master/config/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -3293,6 +3293,18 @@
"-DCMAKE_CXX_FLAGS=-gmlt",
"-DLLVM_CCACHE_BUILD=ON"])},

]

# LLDB remote-linux builder env variables.
# Currently identical for Linux and Windows build hosts.
lldb_remote_linux_env = {
'CCACHE_DIR' : util.Interpolate("%(prop:builddir)s/ccache-db"),
# TMP/TEMP within the build dir (to utilize a ramdisk).
'TMP' : util.Interpolate("%(prop:builddir)s/build"),
'TEMP' : util.Interpolate("%(prop:builddir)s/build"),
}

all += [
# LLDB remote-linux builders.

# LLDB remote-linux on Ubuntu Linux host.
Expand Down Expand Up @@ -3417,13 +3429,9 @@
haltOnFailure = True,
),
],
),
env = {
'CCACHE_DIR' : util.Interpolate("%(prop:builddir)s/ccache-db"),
# TMP/TEMP within the build dir (to utilize a ramdisk).
'TMP' : util.Interpolate("%(prop:builddir)s/build"),
'TEMP' : util.Interpolate("%(prop:builddir)s/build"),
},
env = lldb_remote_linux_env.copy(),
), # ]] post_build_steps
env = lldb_remote_linux_env.copy(),
)
},

Expand Down Expand Up @@ -3548,13 +3556,9 @@
haltOnFailure = True,
),
],
),
env = {
'CCACHE_DIR' : util.Interpolate("%(prop:builddir)s/ccache-db"),
# TMP/TEMP within the build dir (to utilize a ramdisk).
'TMP' : util.Interpolate("%(prop:builddir)s/build"),
'TEMP' : util.Interpolate("%(prop:builddir)s/build"),
},
env = lldb_remote_linux_env.copy(),
), # ]] post_build_steps
env = lldb_remote_linux_env.copy(),
)
},
]

0 comments on commit 990bdae

Please sign in to comment.