File tree 3 files changed +5
-1
lines changed
3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ jobs:
104
104
105
105
- name : Install GCC 7
106
106
run : |
107
+ sudo echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu focal main universe" >> /etc/apt/sources.list
107
108
sudo apt-get install -y gcc-7 g++-7
108
109
echo "CC=/usr/bin/gcc-7" >> $GITHUB_ENV
109
110
echo "CXX=/usr/bin/g++-7" >> $GITHUB_ENV
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ target_link_libraries(k2_torch_api PUBLIC k2_torch)
75
75
76
76
if (K2_ENABLE_TESTS)
77
77
add_executable (torch_api_test torch_api_test.cc)
78
- target_link_libraries (torch_api_test PRIVATE k2_torch_api gtest gtest_main)
78
+ target_link_libraries (torch_api_test k2_torch_api gtest gtest_main)
79
79
80
80
# NOTE: We set the working directory here so that
81
81
# it works also on windows. The reason is that
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ case "$cuda" in
49
49
11.7)
50
50
url=https://developer.download.nvidia.com/compute/cuda/11.7.1/local_installers/cuda_11.7.1_515.65.01_linux.run
51
51
;;
52
+ 11.8)
53
+ url=https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_520.61.05_linux.run
54
+ ;;
52
55
* )
53
56
echo " Unknown cuda version: $cuda "
54
57
exit 1
You can’t perform that action at this time.
0 commit comments