Skip to content

Commit

Permalink
pipeline debug
Browse files Browse the repository at this point in the history
  • Loading branch information
teqdruid committed Feb 28, 2024
1 parent af05c37 commit 0dec34c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/esiRuntimePublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ jobs:
- name: Get CIRCT
uses: actions/checkout@v3
with:
fetch-depth: 2
submodules: "true"

- name: Unshallow CIRCT
run: |
git fetch --force --unshallow --tags --no-recurse-submodules
submodules: false

- name: Setup Python
uses: actions/setup-python@v3
Expand Down
3 changes: 3 additions & 0 deletions lib/Dialect/ESI/runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@ if(Python_FOUND)
find_package(pybind11 CONFIG)
if (NOT pybind11_FOUND)
message (STATUS "Could not find pybind11. Disabling Python API.")
if (WHEEL_BUILD)
message (FATAL_ERROR "pybind11 is required for a wheel build.")
endif()
else()
# Compile Pybind11 module and copy to the correct python directory.
pybind11_add_module(esiCppAccel python/esiaccel/esiCppAccel.cpp)
Expand Down
2 changes: 1 addition & 1 deletion lib/Dialect/ESI/runtime/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = [
"setuptools>=68",
"setuptools_scm>=8.0",
"wheel",
"cmake>=3.12",
"cmake>=3.20",
"pybind11>=2.9",
]
build-backend = "setuptools.build_meta"
Expand Down
1 change: 1 addition & 0 deletions lib/Dialect/ESI/runtime/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def run(self):
if "CIRCT_EXTRA_CMAKE_ARGS" in os.environ:
cmake_args += os.environ["CIRCT_EXTRA_CMAKE_ARGS"].split(" ")

print("CMake args: ", cmake_args)
subprocess.check_call(["cmake", src_dir] + cmake_args, cwd=cmake_build_dir)

# Run the build.
Expand Down

0 comments on commit 0dec34c

Please sign in to comment.