Skip to content

Commit

Permalink
wtfbbq exceptions windows
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental committed Jan 31, 2025
1 parent 577b81f commit 11c9df1
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions projects/eudsl-tblgen/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,11 @@ cmake.source-dir = "."
wheel.packages = ["src/eudsl_tblgen"]

[tool.scikit-build.cmake.define]
CMAKE_PREFIX_PATH = { env = "CMAKE_PREFIX_PATH", default = "" }
CMAKE_C_FLAGS = { env = "CMAKE_C_FLAGS", default = "" }
CMAKE_CXX_FLAGS = { env = "CMAKE_CXX_FLAGS", default = "" }
LLVM_DIR = { env = "LLVM_DIR", default = "EMPTY" }
CMAKE_CXX_VISIBILITY_PRESET = "hidden"
CMAKE_C_COMPILER_LAUNCHER = { env = "CMAKE_C_COMPILER_LAUNCHER", default = "" }
CMAKE_CXX_COMPILER_LAUNCHER = { env = "CMAKE_CXX_COMPILER_LAUNCHER", default = "" }
#CMAKE_C_VISIBILITY_PRESET = "hidden"
#CMAKE_CXX_VISIBILITY_PRESET = "hidden"
#CMAKE_VISIBILITY_INLINES_HIDDEN = "ON"
CMAKE_VERBOSE_MAKEFILE = "ON"
LLVM_DIR = { env = "LLVM_DIR", default = "EMPTY" }
CMAKE_PREFIX_PATH = { env = "CMAKE_PREFIX_PATH", default = "" }
LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN = "ON"

[tool.cibuildwheel]
Expand All @@ -41,23 +36,19 @@ archs = ["auto64"]
manylinux-x86_64-image = "manylinux_2_28"
manylinux-aarch64-image = "quay.io/pypa/manylinux_2_34_aarch64"
environment-pass = [
"CMAKE_PREFIX_PATH",
"CMAKE_C_FLAGS",
"CMAKE_CXX_FLAGS",
"CMAKE_C_COMPILER_LAUNCHER",
"CMAKE_CXX_COMPILER_LAUNCHER",
"LLVM_DIR",
"CMAKE_GENERATOR",
"CMAKE_PREFIX_PATH",
"CC",
"CXX",
"LLVM_DIR",
# ccache
"CCACHE_DIR",
"CCACHE_MAXSIZE=700M",
"CCACHE_SLOPPINESS",
"CCACHE_CPP2",
"CCACHE_UMASK",
"CCACHE_NOHASHDIR",
"PIP_FIND_LINKS",
"CMAKE_C_COMPILER_LAUNCHER",
"CMAKE_CXX_COMPILER_LAUNCHER"
]
before-build = [
"export CCACHE_DIR=$CCACHE_DIR/$(python -c 'import platform; print(platform.python_version())')",
Expand Down

0 comments on commit 11c9df1

Please sign in to comment.