Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-sparse
Commits
8945bed2
Commit
8945bed2
authored
Feb 23, 2020
by
rusty1s
Browse files
fix
parent
23bf325a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
script/metis.sh
script/metis.sh
+3
-6
setup.py
setup.py
+1
-1
No files found.
script/metis.sh
View file @
8945bed2
...
@@ -17,16 +17,13 @@ else
...
@@ -17,16 +17,13 @@ else
cd
build
||
exit
cd
build
||
exit
cmake
--help
cmake ..
-A
x64
# Ensure we are building with x64
cmake ..
-A
x64
cmake
--build
.
--config
"Release"
--target
ALL_BUILD
cmake
--build
.
--config
"Release"
--target
ALL_BUILD
# cp libmetis/Release/metis.lib ../..
cp
libmetis/Release/metis.lib /c/Program
\
Files
\ \(
x86
\)
/Microsoft
\
Visual
\
Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/lib/x64
cp
libmetis/Release/metis.lib /c/Program
\
Files
\ \(
x86
\)
/Microsoft
\
Visual
\
Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/lib/x64
ls
/c/Program
\
Files
\ \(
x86
\)
/Microsoft
\
Visual
\
Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/HostX86/x64
#
ls /c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/HostX86/x64
/c/Program
\
Files
\ \(
x86
\)
/Microsoft
\
Visual
\
Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/HostX86/x64/dumpbin.exe
/EXPORTS /SYMBOLS
libmetis/Release/metis.lib
#
/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/HostX86/x64/dumpbin.exe libmetis/Release/metis.lib
# cmake .. -DSHARED=1
# cmake .. -DSHARED=1
# cmake --build . --config "Release" --target ALL_BUILD
# cmake --build . --config "Release" --target ALL_BUILD
...
...
setup.py
View file @
8945bed2
...
@@ -21,7 +21,7 @@ def get_extensions():
...
@@ -21,7 +21,7 @@ def get_extensions():
Extension
=
CppExtension
Extension
=
CppExtension
define_macros
=
[]
define_macros
=
[]
extra_compile_args
=
{
'cxx'
:
[]}
extra_compile_args
=
{
'cxx'
:
[]}
extra_link_args
=
[
'/VERBOSE'
]
extra_link_args
=
[]
if
WITH_CUDA
:
if
WITH_CUDA
:
Extension
=
CUDAExtension
Extension
=
CUDAExtension
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment