提交 0e746782 authored 作者: Frederic's avatar Frederic

Revert "msvc doesn't understand -Wl,-rpath option"

This reverts commit cc639be5. This shouldn't be done on the platform, but on the compiler. Anyway, we won't make GPU op link to BLAS in Pylearn2 for now, so I just remove this.
上级 a5b376dc
......@@ -456,8 +456,7 @@ def ldflags(libs=True, flags=False, libs_dir=False, include_dir=False):
elif flags and t1 == 'L':
#to find it when we load the compiled op if the env of the
#used is not well configured.
if sys.platform != 'win32':
rval.append('-Wl,-rpath,' + t[2:])
rval.append('-Wl,-rpath,' + t[2:])
return rval
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论