build all, with CUDA.

pull/1911/head
Nathan 2025-08-22 17:56:36 -07:00
rodzic fec14ac683
commit f17b666dd4
2 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -58,10 +58,10 @@ jobs:
with: with:
python-version: '3.12.10' python-version: '3.12.10'
architecture: 'x64' architecture: 'x64'
# - uses: Jimver/cuda-toolkit@v0.2.24 - uses: Jimver/cuda-toolkit@v0.2.24
# id: cuda-toolkit id: cuda-toolkit
# with: with:
# cuda: '12.8.1' cuda: '12.8.1'
- name: Setup cmake - name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.13 uses: jwlawson/actions-setup-cmake@v1.13
with: with:

Wyświetl plik

@ -104,7 +104,7 @@ def build():
toolchain_file = os.path.join(os.getcwd(), "vcpkg", "scripts", "buildsystems", "vcpkg.cmake") toolchain_file = os.path.join(os.getcwd(), "vcpkg", "scripts", "buildsystems", "vcpkg.cmake")
run("cmake .. -DCMAKE_TOOLCHAIN_FILE=\"%s\"" % toolchain_file, cwd=build_dir) run("cmake .. -DCMAKE_TOOLCHAIN_FILE=\"%s\"" % toolchain_file, cwd=build_dir)
run("cmake --build . --config Release -j2 --target ceres", cwd=build_dir) run("cmake --build . --config Release -j2", cwd=build_dir)
def vcpkg_export(): def vcpkg_export():
if not os.path.exists("vcpkg"): if not os.path.exists("vcpkg"):