Skip to content

Commit

Permalink
fix macos library name
Browse files Browse the repository at this point in the history
The library type was changed from SHARED to MODULE in deepmodeling#1384.

Fixes errors in conda-forge/deepmd-kit-feedstock#31
  • Loading branch information
njzjz committed Mar 11, 2022
1 parent 69989b4 commit 23b9234
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deepmd/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ def get_module(module_name: str) -> "ModuleType":
"""
if platform.system() == "Windows":
ext = ".dll"
elif platform.system() == "Darwin":
ext = ".dylib"
#elif platform.system() == "Darwin":
# ext = ".dylib"
else:
ext = ".so"

Expand Down

0 comments on commit 23b9234

Please sign in to comment.