Skip to content

Commit be78c5c

Browse files
committed
Update configuration for armv7l/aarch64 Win-to-Linux cross toolchain release builders.
Missed configuration for the workers hosted the release builders. See llvm#199 for details. Related llvm/llvm-project#94284
1 parent 040a154 commit be78c5c

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

buildbot/osuosl/master/config/builders.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
extra_configure_args=[
218218
"-DLLVM_TARGETS_TO_BUILD=ARM",
219219
"-DTOOLCHAIN_TARGET_TRIPLE=armv7-unknown-linux-gnueabihf",
220-
WithProperties("-DCLANG_CONFIG_FILE_USER_DIR=%(clang_configs_path)s"),
220+
WithProperties("-DDTOOLCHAIN_TARGET_SYSROOTFS=%(sysroot_path_armv7)s"),
221221
WithProperties("-DZLIB_ROOT=%(zlib_root_path)s"),
222222
"-DLLVM_LIT_ARGS=-v -vv --threads=32",
223223
WithProperties("%(remote_test_host:+-DREMOTE_TEST_HOST=)s%(remote_test_host:-)s"),
@@ -256,7 +256,7 @@
256256
extra_configure_args=[
257257
"-DLLVM_TARGETS_TO_BUILD=AArch64",
258258
"-DTOOLCHAIN_TARGET_TRIPLE=aarch64-unknown-linux-gnu",
259-
WithProperties("-DCLANG_CONFIG_FILE_USER_DIR=%(clang_configs_path)s"),
259+
WithProperties("-DDTOOLCHAIN_TARGET_SYSROOTFS=%(sysroot_path_aarch64)s"),
260260
WithProperties("-DZLIB_ROOT=%(zlib_root_path)s"),
261261
"-DLLVM_LIT_ARGS=-v -vv --threads=32",
262262
WithProperties("%(remote_test_host:+-DREMOTE_TEST_HOST=)s%(remote_test_host:-)s"),

buildbot/osuosl/master/config/release_builders.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
extra_configure_args=[
132132
"-DLLVM_TARGETS_TO_BUILD=ARM",
133133
"-DTOOLCHAIN_TARGET_TRIPLE=armv7-unknown-linux-gnueabihf",
134-
WithProperties("-DCLANG_CONFIG_FILE_USER_DIR=%(clang_configs_path)s"),
134+
WithProperties("-DTOOLCHAIN_TARGET_SYSROOTFS=%(sysroot_path_armv7)s"),
135135
WithProperties("-DZLIB_ROOT=%(zlib_root_path)s"),
136136
"-DLLVM_LIT_ARGS=-v -vv --threads=32",
137137
WithProperties("%(remote_test_host:+-DREMOTE_TEST_HOST=)s%(remote_test_host:-)s"),
@@ -170,7 +170,7 @@
170170
extra_configure_args=[
171171
"-DLLVM_TARGETS_TO_BUILD=AArch64",
172172
"-DTOOLCHAIN_TARGET_TRIPLE=aarch64-unknown-linux-gnu",
173-
WithProperties("-DCLANG_CONFIG_FILE_USER_DIR=%(clang_configs_path)s"),
173+
WithProperties("-DDTOOLCHAIN_TARGET_SYSROOTFS=%(sysroot_path_aarch64)s"),
174174
WithProperties("-DZLIB_ROOT=%(zlib_root_path)s"),
175175
"-DLLVM_LIT_ARGS=-v -vv --threads=32",
176176
WithProperties("%(remote_test_host:+-DREMOTE_TEST_HOST=)s%(remote_test_host:-)s"),

buildbot/osuosl/master/config/workers.py

+10-4
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@ def get_all():
180180
create_worker("as-builder-1", properties={
181181
'remote_test_host' : 'jetson6.lab.llvm.org',
182182
'remote_test_user' : 'ubuntu',
183-
'clang_configs_path' : 'c:/buildbot/clang-configs',
183+
'sysroot_path_aarch64' : 'c:/buildbot/fs/jetson-agx-ubuntu',
184+
'sysroot_path_armv7' : 'c:/buildbot/fs/jetson-tk1-arm-ubuntu',
184185
'zlib_root_path' : 'c:/buildbot/fs/zlib-win32',
185186
},
186187
max_builds=1),
@@ -189,7 +190,8 @@ def get_all():
189190
create_worker("as-builder-2", properties={
190191
'remote_test_host' : 'jetson-agx-2197.lab.llvm.org',
191192
'remote_test_user' : 'ubuntu',
192-
'clang_configs_path' : 'c:/buildbot/clang-configs',
193+
'sysroot_path_aarch64' : 'c:/buildbot/fs/jetson-agx-ubuntu',
194+
'sysroot_path_armv7' : 'c:/buildbot/fs/jetson-tk1-arm-ubuntu',
193195
'zlib_root_path' : 'c:/buildbot/fs/zlib-win32',
194196
},
195197
max_builds=1),
@@ -203,14 +205,18 @@ def get_all():
203205

204206
# Windows Server on Xeon Gold 6230 (2x2.1GHz), 256Gb of RAM
205207
create_worker("as-builder-5", properties={ # arm
206-
'remote_test_host': 'jetson4.lab.llvm.org',
207-
'remote_test_user': 'ubuntu'
208+
'remote_test_host' : 'jetson4.lab.llvm.org',
209+
'remote_test_user' : 'ubuntu',
210+
'sysroot_path_aarch64' : 'c:/buildbot/fs/jetson-agx-ubuntu',
211+
'sysroot_path_armv7' : 'c:/buildbot/fs/jetson-tk1-arm-ubuntu',
212+
'zlib_root_path' : 'c:/buildbot/fs/zlib-win32',
208213
},
209214
max_builds=1),
210215
create_worker("as-builder-6", properties={ # aarch64
211216
'remote_test_host' : 'jetson-agx-2198.lab.llvm.org',
212217
'remote_test_user' : 'ubuntu',
213218
'sysroot_path_aarch64' : 'c:/buildbot/fs/jetson-agx-ubuntu',
219+
'sysroot_path_armv7' : 'c:/buildbot/fs/jetson-tk1-arm-ubuntu',
214220
'zlib_root_path' : 'c:/buildbot/fs/zlib-win32',
215221
},
216222
max_builds=1),

0 commit comments

Comments
 (0)