|
102 | 102 |
|
103 | 103 | {'name' : "llvm-clang-win-x-armv7l-release", |
104 | 104 | 'tags' : ["clang", "llvm", "compiler-rt", "cross", "armv7"], |
105 | | - 'workernames' : ["as-builder-5"], |
| 105 | + 'workernames' : ["as-builder-1"], |
106 | 106 | 'builddir': "x-armv7l-rel", |
107 | | - 'factory' : XToolchainBuilder.getCmakeWithMSVCBuildFactory( |
| 107 | + 'factory' : UnifiedTreeBuilder.getCmakeExBuildFactory( |
| 108 | + depends_on_projects = [ |
| 109 | + 'llvm', |
| 110 | + 'compiler-rt', |
| 111 | + 'clang', |
| 112 | + 'clang-tools-extra', |
| 113 | + 'libunwind', |
| 114 | + 'libcxx', |
| 115 | + 'libcxxabi', |
| 116 | + 'lld', |
| 117 | + ], |
108 | 118 | vs="autodetect", |
109 | 119 | clean=True, |
110 | 120 | checks=[ |
111 | | - "check-llvm", |
112 | | - "check-clang", |
113 | | - "check-lld", |
114 | | - "check-compiler-rt-armv7-unknown-linux-gnueabihf" |
| 121 | + "check-llvm", |
| 122 | + "check-clang", |
| 123 | + "check-lld", |
| 124 | + "check-compiler-rt-armv7-unknown-linux-gnueabihf", |
115 | 125 | ], |
116 | 126 | checks_on_target = [ |
117 | 127 | ("libunwind", |
118 | 128 | ["python", "bin/llvm-lit.py", |
119 | | - "-v", "-vv", "--threads=32", |
120 | | - "runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libunwind/test"]), |
| 129 | + "runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libunwind/test", |
| 130 | + ]), |
121 | 131 | ("libc++abi", |
122 | 132 | ["python", "bin/llvm-lit.py", |
123 | | - "-v", "-vv", "--threads=32", |
124 | | - "runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxxabi/test"]), |
| 133 | + "runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxxabi/test", |
| 134 | + ]), |
125 | 135 | ("libc++", |
126 | 136 | ['python', 'bin/llvm-lit.py', |
127 | | - '-v', '-vv', '--threads=32', |
128 | 137 | 'runtimes/runtimes-armv7-unknown-linux-gnueabihf-bins/libcxx/test', |
129 | 138 | ]) |
130 | 139 | ], |
131 | | - extra_configure_args=[ |
132 | | - "-DLLVM_TARGETS_TO_BUILD=ARM", |
133 | | - "-DTOOLCHAIN_TARGET_TRIPLE=armv7-unknown-linux-gnueabihf", |
134 | | - util.Interpolate("-DTOOLCHAIN_TARGET_SYSROOTFS=%(prop:sysroot_path_armv7)s"), |
135 | | - util.Interpolate("-DZLIB_ROOT=%(prop:zlib_root_path)s"), |
136 | | - "-DLLVM_LIT_ARGS=-v -vv --threads=32", |
137 | | - util.Interpolate("%(prop:remote_test_host:+-DREMOTE_TEST_HOST=)s%(prop:remote_test_host:-)s"), |
138 | | - util.Interpolate("%(prop:remote_test_user:+-DREMOTE_TEST_USER=)s%(prop:remote_test_user:-)s"), |
| 140 | + cmake_definitions = { |
| 141 | + "LLVM_TARGETS_TO_BUILD" : "ARM", |
| 142 | + "LLVM_INCLUDE_BENCHMARKS" : "OFF", |
| 143 | + "LLVM_CCACHE_BUILD" : "ON", |
| 144 | + "LLVM_LIT_ARGS" : "-v -vv --threads=32 --time-tests", |
| 145 | + "TOOLCHAIN_TARGET_TRIPLE" : "armv7-unknown-linux-gnueabihf", |
| 146 | + "TOOLCHAIN_TARGET_SYSROOTFS" : util.Interpolate("%(prop:sysroot_path_tk1)s"), |
| 147 | + "ZLIB_ROOT" : util.Interpolate("%(prop:zlib_root_path)s"), |
| 148 | + "REMOTE_TEST_HOST" : util.Interpolate("%(prop:remote_host_tk1_rel)s"), |
| 149 | + "REMOTE_TEST_USER" : util.Interpolate("%(prop:remote_user_tk1_rel)s"), |
| 150 | + "CMAKE_CXX_FLAGS" : "-D__OPTIMIZE__", |
| 151 | + }, |
| 152 | + cmake_options = [ |
| 153 | + "-C", util.Interpolate("%(prop:srcdir_relative)s/clang/cmake/caches/CrossWinToARMLinux.cmake"), |
139 | 154 | ], |
140 | | - cmake_cache="../llvm-project/clang/cmake/caches/CrossWinToARMLinux.cmake")}, |
| 155 | + install_dir = "install", |
| 156 | + env = { |
| 157 | + 'CCACHE_DIR' : util.Interpolate("%(prop:builddir)s/ccache-db"), |
| 158 | + # TMP/TEMP within the build dir (to utilize a ramdisk). |
| 159 | + 'TMP' : util.Interpolate("%(prop:builddir)s/build"), |
| 160 | + 'TEMP' : util.Interpolate("%(prop:builddir)s/build"), |
| 161 | + }, |
| 162 | + ) |
| 163 | + }, |
141 | 164 |
|
142 | 165 | {'name' : "llvm-clang-win-x-aarch64-release", |
143 | 166 | 'tags' : ["clang", "llvm", "compiler-rt", "cross", "aarch64"], |
|
0 commit comments