Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
vsoftco committed Mar 31, 2024
1 parent 5ecdf23 commit cbb66d7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions oqs/oqs.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import time
import warnings

# liboqs-python tries to automatically install this liboqs version in case no
# other version is found
# liboqs-python tries to automatically install and load this liboqs version in
# case no other version is found
OQS_VERSION = "0.10.0"

# Expected return value from native OQS functions
Expand Down Expand Up @@ -89,8 +89,10 @@ def _install_liboqs(directory, oqs_version):
+ oqs_version
+ " --depth 1 && cmake -S liboqs -B liboqs/build -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX="
+ directory
+ " && cmake --build liboqs/build --parallel 4 && cmake --build liboqs/build --target install"
)
if platform.system() == "Windows":
oqs_install_str += " -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE"
oqs_install_str += " && cmake --build liboqs/build --parallel 4 && cmake --build liboqs/build --target install"
print("liboqs not found, installing it in " + directory)
_countdown(5)
os.system(oqs_install_str)
Expand Down

0 comments on commit cbb66d7

Please sign in to comment.