Skip to content

Commit

Permalink
Add conan src when build wheel (#159)
Browse files Browse the repository at this point in the history
Signed-off-by: junjie.jiang <junjie.jiang@zilliz.com>
  • Loading branch information
junjiejiangjjj authored Jun 4, 2024
1 parent bb4dae4 commit 66e13d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ def run(self):
extdir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
env = os.environ
env['LD_LIBRARY_PATH'] = os.path.join(build_temp, 'lib')
subprocess.call(['conan', 'remote', 'add', 'default-conan-local', 'https://milvus01.jfrog.io/artifactory/api/conan/default-conan-local'],
cwd=build_temp, env=env)
if sys.platform.lower() == 'linux':
subprocess.check_call(['conan', 'install', extdir, '--build=missing', '-s', 'build_type=Release', '-s', 'compiler.libcxx=libstdc++11'],
cwd=build_temp, env=env)
Expand Down

0 comments on commit 66e13d3

Please sign in to comment.