SET CMAKE_OPTIONS=
SET CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCMAKE_INSTALL_PREFIX:STRING=%PRODUCT_INSTALL:\=/%
+SET CMAKE_OPTIONS=%CMAKE_OPTIONS% -DBUILD_SHARED_LIBS=ON
set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCMAKE_BUILD_TYPE:STRING=%PRODUCT_BUILD_TYPE%
set CMAKE_OPTIONS=%CMAKE_OPTIONS% -G %CMAKE_GENERATOR% -A x64
env.set('CBLAS_ROOT_DIR', os.path.join(prereq_dir,'lib', 'cmake', 'cblas-3.8.0'))
else:
env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
-
+ env.set('BLAS', os.path.join(prereq_dir, 'lib'))
+ env.set('LAPACK', os.path.join(prereq_dir, 'lib'))
+ env.set('ATLAS', os.path.join(prereq_dir, 'lib'))
+ env.set('LAPACKE_DIR', os.path.join(prereq_dir,'lib', 'cmake', 'lapacke-3.8.0'))
+ env.set('LAPACKE_INCDIR', os.path.join(prereq_dir,'include'))
+ env.set('LAPACKE_LIBDIR', os.path.join(prereq_dir,'lib'))
+ env.set('CBLAS_ROOT_DIR', os.path.join(prereq_dir,'lib', 'cmake', 'cblas-3.8.0'))
def set_nativ_env(env):
env.set('LAPACKHOME', '/usr')
env.set('LAPACK_ROOT_DIR', '/')