Skip to content

Commit

Permalink
Remove CUDA Toolkit installation and curl submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
royshil committed Apr 2, 2024
1 parent 9e04053 commit 7e30b6b
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 26 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/build-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -237,20 +237,6 @@ jobs:
submodules: recursive
fetch-depth: 0

- name: Install CUDA Toolkit
if: ${{ matrix.cublas != 'cpu' }}
id: cuda-toolkit
uses: Jimver/cuda-toolkit@v0.2.11
with:
cuda: '${{ matrix.cublas }}'

- name: Set CUDA_TOOLKIT_ROOT_DIR if CUDA is installed
if: ${{ matrix.cublas != 'cpu' }}
run: |
ls "$env:CUDA_PATH\bin"
ls -d 2 "$env:CUDA_PATH\lib"
"CUDA_TOOLKIT_ROOT_DIR=$env:CUDA_PATH" >> $env:GITHUB_ENV
- name: Set Up Environment 🔧
id: setup
run: |
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

2 changes: 1 addition & 1 deletion cmake/BuildWhispercpp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ endif()
add_library(Whispercpp INTERFACE)
add_dependencies(Whispercpp Whispercpp_Build)
target_link_libraries(Whispercpp INTERFACE Whispercpp::Whisper)
if(WIN32 AND $ENV{CPU_OR_CUDA} STREQUAL "cpu")
if(WIN32 AND "$ENV{CPU_OR_CUDA}" STREQUAL "cpu")
target_link_libraries(Whispercpp INTERFACE Whispercpp::OpenBLAS)
endif()
if(APPLE)
Expand Down
7 changes: 0 additions & 7 deletions cmake/common/buildspec_common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,6 @@ function(_setup_obs_studio)
set(_cmake_version "3.0.0")
endif()

message(STATUS "Patch libobs")
execute_process(
COMMAND patch --forward "libobs/CMakeLists.txt" "${CMAKE_CURRENT_SOURCE_DIR}/patch_libobs.diff"
RESULT_VARIABLE _process_result
WORKING_DIRECTORY "${dependencies_dir}/${_obs_destination}")
message(STATUS "Patch - done")

message(STATUS "Configure ${label} (${arch})")
execute_process(
COMMAND
Expand Down
1 change: 0 additions & 1 deletion vendor/curl
Submodule curl deleted from 98044e

0 comments on commit 7e30b6b

Please sign in to comment.