Files
derek.holloway 7502bf64a4
CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

90 lines
2.3 KiB
TOML

# Copyright Advanced Micro Devices, Inc., or its affiliates.
# SPDX-License-Identifier: MIT
[build-system]
requires = [
"scikit-build-core>=0.5",
"nanobind>=2.0.0"
]
build-backend = "scikit_build_core.build"
# NOTE: Building this package requires ROCm/HIP to be installed on your system.
# ROCm cannot be installed via pip and must be installed separately.
# See: https://rocm.docs.amd.com/en/latest/deploy/linux/quick_start.html
# Ensure CMAKE_PREFIX_PATH includes ROCm (default: /opt/rocm)
[project]
name = "origami"
dynamic = ["version"]
description = "Analytical GEMM Solution Selection"
readme = "../README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
authors = [
{name = "Advanced Micro Devices, Inc."}
]
dependencies = [
"nanobind>=2.0.0",
]
[project.optional-dependencies]
test = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pyyaml>=6.0",
]
torch = ["torch>=2.0.0"]
[tool.scikit-build]
wheel.packages = ["src/origami"]
cmake.version = ">=3.25"
build.verbose = true
# CMake source directory - use current directory (python/) which contains CMakeLists.txt
# The python/CMakeLists.txt will automatically build origami from parent directory
cmake.source-dir = "."
# CMake arguments
# CMAKE_PREFIX_PATH and CMAKE_CXX_COMPILER should be set via environment variables
# or passed via CMAKE_ARGS environment variable
cmake.args = [
"-DCMAKE_BUILD_TYPE:STRING=Release",
]
# CMake defines - these can be overridden via environment
# CMAKE_PREFIX_PATH will be used by python/CMakeLists.txt
cmake.define = { }
# Dynamic version from __init__.py
metadata.version.provider = "scikit_build_core.metadata.regex"
metadata.version.input = "src/origami/__init__.py"
metadata.version.regex = '^__version__\s*=\s*["\x27](?P<value>[^"\x27]+)["\x27]'
sdist.exclude = [
"../../*",
"../*",
"*.md",
"*.sh",
"build/*",
"*.egg-info/*",
]
wheel.exclude = [
"../../*",
"../*",
"*.md",
"*.sh",
"tests/*",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests that require hardware",
"regression: marks tests as ranking regression tests",
]
addopts = [
"-ra",
"--strict-markers",
]