Skip to content

Commit

Permalink
Revert "switch to debug build"
Browse files Browse the repository at this point in the history
This reverts commit 8fd4a1f.
  • Loading branch information
N-Coder committed Sep 14, 2023
1 parent 6632b8f commit 949bb94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions hatch_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ def initialize(self, version, build_data):
with open(comp_spec_cmake, "wt") as f:
f.writelines("# " + l if "march=native" in l and not l.strip().startswith("#") else l for l in lines)

CONFIG = "Debug"
CONFIG = "Release"
flags = [
"-DCMAKE_BUILD_TYPE=" + CONFIG, "-DBUILD_SHARED_LIBS=ON", "-DCMAKE_INSTALL_PREFIX=%s" % self.cmake_install_dir,
"-DOGDF_USE_ASSERT_EXCEPTIONS=ON", # "-DOGDF_USE_ASSERT_EXCEPTIONS_WITH=ON_LIBUNWIND",
# "-DOGDF_USE_ASSERT_EXCEPTIONS=ON", # "-DOGDF_USE_ASSERT_EXCEPTIONS_WITH=ON_LIBUNWIND",
"-DOGDF_MEMORY_MANAGER=POOL_TS",
# "-DOGDF_MEMORY_MANAGER=MALLOC_TS", "-DOGDF_LEAK_CHECK=ON",
"-DOGDF_WARNING_ERRORS=OFF",
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ environment-pass = ["GITHUB_ACTIONS"]
manylinux-x86_64-image = "manylinux_2_28" # manylinux2014 uses a too old gcc (wlav/cppyy#70)
build-frontend = "build"
before-build = "pip debug --verbose"
#test-command = [
# "pip install git+https://github.com/N-Coder/ogdf-python.git",
# "python -m ogdf_python",
# "python {project}/test_layouts.py",
#]
test-command = [
"pip install git+https://github.com/N-Coder/ogdf-python.git",
"python -m ogdf_python",
"python {project}/test_layouts.py",
]

[tool.hatch.build]
ignore-vcs = true # "install" may not be excluded, otherwise weird things happen
Expand Down

0 comments on commit 949bb94

Please sign in to comment.