Skip to content

Commit d18e9e3

Browse files
committed
mkl on
1 parent 6a519fb commit d18e9e3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def build_extension(self, ext):
5757
# '-DPOLYFEM_THREADING=NONE',
5858
'-DPOLYFEM_NO_UI=ON',
5959
'-DPOLYSOLVE_WITH_AMGCL=OFF',
60-
'-DPOLYSOLVE_WITH_MKL=OFF',
60+
'-DPOLYSOLVE_WITH_MKL=ON',
6161
'-DPOLYSOLVE_WITH_SPECTRA=OFF']
6262

6363
cfg = 'Debug' if self.debug else 'Release'
@@ -75,8 +75,9 @@ def build_extension(self, ext):
7575
build_args += ['--', '-j{}'.format(n_threads)]
7676

7777
env = os.environ.copy()
78-
env['CXXFLAGS'] = '{} -DVERSION_INFO=\"{}\"'.format(
79-
env.get('CXXFLAGS', ''), self.distribution.get_version())
78+
# env['CXXFLAGS'] = '{} -DVERSION_INFO=\"{}\"'.format(
79+
# env.get('CXXFLAGS', ''), self.distribution.get_version())
80+
# print(env['CXXFLAGS'])
8081

8182
if not os.path.exists(self.build_temp):
8283
os.makedirs(self.build_temp)

0 commit comments

Comments
 (0)