Skip to content

Commit

Permalink
copy lib from conda env
Browse files Browse the repository at this point in the history
  • Loading branch information
nicor88 committed Jun 20, 2017
1 parent c96620d commit f78957b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis/build_lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@
if 'numpy' in libs:
logger.info('Copy needed libs for numpy')

shutil.copy2(os.path.join(conda_path, 'lib/libmkl_intel_lp64.so'), tmp_dir)
shutil.copy2(os.path.join(conda_path, 'lib/libmkl_intel_thread.so'), tmp_dir)
shutil.copy2(os.path.join(conda_path, 'lib/libmkl_core.so'), tmp_dir)
shutil.copy2(os.path.join(conda_path, 'lib/libiomp5.so'), tmp_dir)
shutil.copy2(os.path.join(conda_env_path, 'lib', 'libmkl_intel_lp64.so'), tmp_dir)
shutil.copy2(os.path.join(conda_env_path, 'lib', 'libmkl_intel_thread.so'), tmp_dir)
shutil.copy2(os.path.join(conda_env_path, 'lib', 'libmkl_core.so'), tmp_dir)
shutil.copy2(os.path.join(conda_env_path, 'lib', 'libiomp5.so'), tmp_dir)

# create zip
zip_file_dst = os.path.join('dist', lambda_path.split('/')[-2])
Expand Down

0 comments on commit f78957b

Please sign in to comment.