Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
Enable threads by default
  • Loading branch information
sergey-dryabzhinsky authored Jan 19, 2025
1 parent 532ba4e commit 5a8241c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
if SUP_ASM:
DISABLE_ASM=0

SUP_THREADS="ZSTD_THREADS" in os.environ
if "--libzstd--no-threads" in sys.argv:
SUP_THREADS="ZSTD_THREADS" in os.environ or True
if "--libzstd-no-threads" in sys.argv:
# Disable support multithreading in lizstd
SUP_THREADS=False
sys.argv.remove("--libzstd-no-threads")
Expand Down

0 comments on commit 5a8241c

Please sign in to comment.