Skip to content

Commit

Permalink
release update
Browse files Browse the repository at this point in the history
  • Loading branch information
sametcopur committed Nov 17, 2024
1 parent f2ddf32 commit 031c845
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 22 deletions.
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ def process_explainer_files(directory: str):
project = "treemind"
copyright = "2024, Samet Çopur"
author = "Samet Çopur"
version = "0.0.2"
release = "0.0.2"
version = "0.1.0"
release = "0.1.0"

autodoc_member_order = "bysource"
extensions = [
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "treemind"
version = "0.0.2"
version = "0.1.0"

dependencies = [
"numpy>=1.26.4",
Expand Down
24 changes: 5 additions & 19 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,53 +3,39 @@
import numpy as np
import sys

# Compiler and linker flags for different platforms
if sys.platform == "win32":
extra_compile_args = [
"/O2",
"/O2",
"/fp:fast",
"/GL",
"/Ot",
"/Ox",
"/favor:INTEL64",
"/Oi",
"/GT",
"/Gw",
"/GS-",
"/Qpar",
"/Qpar-report:1",
]
extra_link_args = ["/LTCG", "/OPT:REF", "/OPT:ICF"]
extra_link_args = ["/OPT:REF", "/OPT:ICF"]

elif sys.platform == "linux":
extra_compile_args = [
"-O3",
"-ffast-math",
"-march=native",
"-funroll-loops",
"-finline-functions",
"-ftree-vectorize",
"-fprefetch-loop-arrays",
"-fstrict-aliasing",
"-fstack-protector-strong",
"-ffunction-sections",
"-fdata-sections",
]
extra_link_args = ["-Wl,--gc-sections", "-Wl,--as-needed"]
extra_link_args = []

elif sys.platform == "darwin": # macOS
extra_compile_args = [
"-O3",
"-ffast-math",
"-funroll-loops",
"-finline-functions",
"-ftree-vectorize",
"-fstrict-aliasing",
"-fstack-protector-strong",
"-ffunction-sections",
"-fdata-sections",
"-Wno-unreachable-code-fallthrough",
]
extra_link_args = ["-Wl,-dead_strip"]
extra_link_args = []

define_macros = [("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")]

Expand Down

0 comments on commit 031c845

Please sign in to comment.