@@ -187,9 +187,9 @@ jobs:
187187 CIBW_MANYLINUX_AARCH64_IMAGE : " manylinux_2_28"
188188 # Linux configuration - GCC Toolset and CUDA paths are conditional via matrix variables
189189 CIBW_ENVIRONMENT_LINUX : >
190- PATH=${{ matrix.gcc_path_prefix }}$HOME/.cargo/bin:$HOME/.pecos/deps/llvm/bin:/usr/local/cuda-12.6/bin:$PATH
190+ PATH=${{ matrix.gcc_path_prefix }}$HOME/.cargo/bin:$HOME/.pecos/deps/llvm-14 /bin:/usr/local/cuda-12.6/bin:$PATH
191191 LD_LIBRARY_PATH=${{ matrix.gcc_ld_path }}$LD_LIBRARY_PATH
192- LLVM_SYS_140_PREFIX=$HOME/.pecos/deps/llvm
192+ LLVM_SYS_140_PREFIX=$HOME/.pecos/deps/llvm-14
193193 CUDA_PATH=/usr/local/cuda-12.6
194194 CIBW_BEFORE_ALL_LINUX : |
195195 curl -sSf https://sh.rustup.rs | sh -s -- -y
@@ -217,8 +217,8 @@ jobs:
217217 pipx run abi3audit --strict --report {wheel}
218218 # macOS configuration
219219 CIBW_ENVIRONMENT_MACOS : >
220- PATH=$HOME/.cargo/bin:$HOME/.pecos/deps/llvm/bin:$PATH
221- LLVM_SYS_140_PREFIX=$HOME/.pecos/deps/llvm
220+ PATH=$HOME/.cargo/bin:$HOME/.pecos/deps/llvm-14 /bin:$PATH
221+ LLVM_SYS_140_PREFIX=$HOME/.pecos/deps/llvm-14
222222 MACOSX_DEPLOYMENT_TARGET=13.2
223223 CIBW_BEFORE_ALL_MACOS : |
224224 curl -sSf https://sh.rustup.rs | sh -s -- -y
@@ -231,21 +231,18 @@ jobs:
231231 printf '#!/bin/bash\nunset DYLD_LIBRARY_PATH\nexec /usr/bin/codesign "$@"\n' > $HOME/.pecos/bin/codesign
232232 chmod +x $HOME/.pecos/bin/codesign
233233 CIBW_REPAIR_WHEEL_COMMAND_MACOS : >
234- PATH=$HOME/.pecos/bin:$PATH DYLD_LIBRARY_PATH=$HOME/.pecos/deps/llvm/lib delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel} &&
234+ PATH=$HOME/.pecos/bin:$PATH DYLD_LIBRARY_PATH=$HOME/.pecos/deps/llvm-14 /lib delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel} &&
235235 pipx run abi3audit --strict --report {wheel}
236236 # Windows configuration - CUDA via Jimver/cuda-toolkit (installed before cibuildwheel)
237237 CIBW_ENVIRONMENT_WINDOWS : >
238- PATH="C:\\Users\\runneradmin\\.pecos\\deps\\llvm\\bin;$PATH"
239- LLVM_SYS_140_PREFIX="C:\\Users\\runneradmin\\.pecos\\deps\\llvm"
238+ PATH="C:\\Users\\runneradmin\\.pecos\\deps\\llvm-14 \\bin;$PATH"
239+ LLVM_SYS_140_PREFIX="C:\\Users\\runneradmin\\.pecos\\deps\\llvm-14 "
240240 CIBW_BEFORE_ALL_WINDOWS : >
241241 echo "=== Installing LLVM using pecos ===" &&
242242 rustup update &&
243- echo "=== Running pecos install llvm ===" &&
244243 cargo run --release -p pecos-cli -- install llvm --force &&
245244 echo "=== Checking LLVM installation ===" &&
246- (test -d "C:\\Users\\runneradmin\\.pecos\\deps\\llvm" && echo "LLVM directory exists" && ls -la "C:\\Users\\runneradmin\\.pecos\\deps\\llvm" && (ls -la "C:\\Users\\runneradmin\\.pecos\\deps\\llvm\\bin" || echo "bin directory not found")) || (echo "ERROR: LLVM directory not found!" && exit 1) &&
247- echo "=== Verifying LLVM_SYS_140_PREFIX ===" &&
248- echo "LLVM_SYS_140_PREFIX will be set to: C:\\Users\\runneradmin\\.pecos\\deps\\llvm"
245+ (test -d "C:\\Users\\runneradmin\\.pecos\\deps\\llvm-14" && echo "LLVM directory exists") || (echo "ERROR: LLVM directory not found!" && exit 1)
249246 # Install delvewheel and patch it to ignore ext-ms-win-* API sets
250247 # (delvewheel ignores api-ms-win-* but not ext-ms-win-* which are also Windows API sets)
251248 CIBW_BEFORE_BUILD_WINDOWS : >
@@ -276,8 +273,8 @@ jobs:
276273 CIBW_MANYLINUX_X86_64_IMAGE : " manylinux_2_28"
277274 CIBW_MANYLINUX_AARCH64_IMAGE : " manylinux_2_28"
278275 CIBW_ENVIRONMENT_LINUX : >
279- PATH=$HOME/.cargo/bin:$HOME/.pecos/deps/llvm/bin:$PATH
280- LLVM_SYS_140_PREFIX=$HOME/.pecos/deps/llvm
276+ PATH=$HOME/.cargo/bin:$HOME/.pecos/deps/llvm-14 /bin:$PATH
277+ LLVM_SYS_140_PREFIX=$HOME/.pecos/deps/llvm-14
281278 CIBW_BEFORE_ALL_LINUX : |
282279 curl -sSf https://sh.rustup.rs | sh -s -- -y
283280 source $HOME/.cargo/env
@@ -287,12 +284,12 @@ jobs:
287284 auditwheel repair -w {dest_dir} {wheel} &&
288285 pipx run abi3audit --strict --report {wheel}
289286 CIBW_ENVIRONMENT_MACOS : >
290- PATH=$HOME/.cargo/bin:$HOME/.pecos/deps/llvm/bin:$PATH
291- LLVM_SYS_140_PREFIX=$HOME/.pecos/deps/llvm
287+ PATH=$HOME/.cargo/bin:$HOME/.pecos/deps/llvm-14 /bin:$PATH
288+ LLVM_SYS_140_PREFIX=$HOME/.pecos/deps/llvm-14
292289 MACOSX_DEPLOYMENT_TARGET=13.2
293290 CIBW_BEFORE_ALL_MACOS : |
294291 source $HOME/.cargo/env 2>/dev/null || { curl -sSf https://sh.rustup.rs | sh -s -- -y && source $HOME/.cargo/env; }
295- if [ ! -d "$HOME/.pecos/deps/llvm/bin" ]; then
292+ if [ ! -d "$HOME/.pecos/deps/llvm-14 /bin" ]; then
296293 rustup update
297294 cargo run --release -p pecos-cli -- install llvm --force
298295 else
@@ -302,19 +299,19 @@ jobs:
302299 printf '#!/bin/bash\nunset DYLD_LIBRARY_PATH\nexec /usr/bin/codesign "$@"\n' > $HOME/.pecos/bin/codesign
303300 chmod +x $HOME/.pecos/bin/codesign
304301 CIBW_REPAIR_WHEEL_COMMAND_MACOS : >
305- PATH=$HOME/.pecos/bin:$PATH DYLD_LIBRARY_PATH=$HOME/.pecos/deps/llvm/lib delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel} &&
302+ PATH=$HOME/.pecos/bin:$PATH DYLD_LIBRARY_PATH=$HOME/.pecos/deps/llvm-14 /lib delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel} &&
306303 pipx run abi3audit --strict --report {wheel}
307304 CIBW_ENVIRONMENT_WINDOWS : >
308- PATH="C:\\Users\\runneradmin\\.pecos\\deps\\llvm\\bin;$PATH"
309- LLVM_SYS_140_PREFIX="C:\\Users\\runneradmin\\.pecos\\deps\\llvm"
305+ PATH="C:\\Users\\runneradmin\\.pecos\\deps\\llvm-14 \\bin;$PATH"
306+ LLVM_SYS_140_PREFIX="C:\\Users\\runneradmin\\.pecos\\deps\\llvm-14 "
310307 CIBW_BEFORE_ALL_WINDOWS : >
311308 rustup update &&
312- if not exist "C:\Users\runneradmin\.pecos\deps\llvm\bin" (cargo run --release -p pecos-cli -- install llvm --force) else (echo LLVM already installed from pecos-rslib build)
309+ if not exist "C:\Users\runneradmin\.pecos\deps\llvm-14 \bin" (cargo run --release -p pecos-cli -- install llvm --force) else (echo LLVM already installed from pecos-rslib build)
313310 CIBW_BEFORE_BUILD_WINDOWS : >
314311 pip install delvewheel &&
315312 python -c "import delvewheel._dll_list as d,inspect,re as r;p=inspect.getfile(d);c=open(p).read();n=chr(10);open(p,'w').write(c.replace(r\"re.compile('api-.*'),\",r\"re.compile('api-.*'),\"+n+r\" re.compile('ext-.*'),\")) if 'ext-.*' not in c else None"
316313 CIBW_REPAIR_WHEEL_COMMAND_WINDOWS : >
317- delvewheel repair -v --add-path "C:\\Users\\runneradmin\\.pecos\\deps\\llvm\\bin" --no-dll "combase.dll;rmclient.dll" -w {dest_dir} {wheel} &&
314+ delvewheel repair -v --add-path "C:\\Users\\runneradmin\\.pecos\\deps\\llvm-14 \\bin" --no-dll "combase.dll;rmclient.dll" -w {dest_dir} {wheel} &&
318315 pipx run abi3audit --strict --report {wheel}
319316
320317 - name : Upload pecos-rslib-llvm wheels
0 commit comments