Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vsoftco committed Sep 21, 2023
1 parent 99946f0 commit ca862f6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
# Compile with qasm_synth for now
extra_compile_args.append("-DQASM_SYNTH")
extra_compile_args.append("-DEXPR_GMP")
extra_compile_args.append("-lgmpxx")
extra_compile_args.append("-lgmp")
extra_compile_args.append("-L/usr/lib/x86_64-linux-gnu")

# If the platform seem to be MSVC
if sys.platform == "win32" and not sys.platform == "cygwin" and not sys.platform == "msys":
Expand All @@ -20,6 +17,7 @@
"pystaq",
["pystaq/staq_wrapper.cpp"],
extra_compile_args=extra_compile_args,
extra_link_args=["-lgmp", "-lgmpxx"],
cxx_std=17,
include_pybind11=False,
),
Expand Down

0 comments on commit ca862f6

Please sign in to comment.