File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1717
1818 cd build || exit
1919
20- cmake .. -DSHARED=0
20+ cmake ..
2121 cmake --build . --config " Release" --target ALL_BUILD
2222 # cp libmetis/Release/metis.lib ../..
2323 cp libmetis/Release/metis.lib /c/Program\ Files\ \( x86\) /Microsoft\ Visual\ Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/lib/x64
2424
25- cmake .. -DSHARED=1
26- cmake --build . --config " Release" --target ALL_BUILD
27- # cp libmetis/Release/metis.lib ../..
28- cp libmetis/Release/metis.dll /c/Program\ Files\ \( x86\) /Microsoft\ Visual\ Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin
25+ # cmake .. -DSHARED=1
26+ # cmake --build . --config "Release" --target ALL_BUILD
27+ # # cp libmetis/Release/metis.lib ../..
28+ # cp libmetis/Release/metis.dll /c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin
2929
30- ls /c/Program\ Files\ \( x86\) /Microsoft\ Visual\ Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin
30+ # ls /c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin
3131
3232 # cmake .. -DSHARED=1
3333 # cmake --build . --config "Release" --target ALL_BUILD
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ def get_extensions():
3232 extra_compile_args ['nvcc' ] = nvcc_flags
3333
3434 if sys .platform == 'win32' :
35- extra_link_args += ['cusparse.lib' ]
35+ extra_link_args += ['cusparse.lib' , 'metis.lib' ]
3636 else :
3737 extra_link_args += ['-lcusparse' , '-l' , 'cusparse' ]
3838
@@ -59,7 +59,7 @@ def get_extensions():
5959 define_macros = define_macros ,
6060 extra_compile_args = extra_compile_args ,
6161 extra_link_args = extra_link_args ,
62- libraries = ['metis' ],
62+ # libraries=['metis'],
6363 )
6464 extensions += [extension ]
6565
You can’t perform that action at this time.
0 commit comments