Skip to content

Commit

Permalink
configopts
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasHoffmann77 committed Nov 8, 2023
1 parent 2119811 commit 0865930
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ dependencies = [
('SciPy-bundle', '2022.05')
]

configopts = '-DFETCHCONTENT_FULLY_DISCONNECTED=ON'
configopts += ' -DFAISS_ENABLE_C_API=ON'
configopts += ' -DCMAKE_CUDA_ARCHITECTURES="%(cuda_cc_cmake)s"'
configopts += ' -DBUILD_TESTING=ON'
_configopts_common = '-DFETCHCONTENT_FULLY_DISCONNECTED=ON'
_configopts_common += ' -DFAISS_ENABLE_C_API=ON'
_configopts_common += ' -DCMAKE_CUDA_ARCHITECTURES="%(cuda_cc_cmake)s"'
_configopts_common += ' -DBUILD_TESTING=ON'
configopts = [
configopts + ' -DBUILD_SHARED_LIBS=ON',
configopts + ' -DBUILD_SHARED_LIBS=OFF' # order important due to libfaiss_python_callbacks.so static link.
_configopts_common + ' -DBUILD_SHARED_LIBS=ON',
_configopts_common + ' -DBUILD_SHARED_LIBS=OFF' # order important due to libfaiss_python_callbacks.so static link.
]

build_cmd_targets = ' faiss swigfaiss'
Expand Down

0 comments on commit 0865930

Please sign in to comment.