Skip to content

Commit

Permalink
WIP: Get error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
sindre-nistad committed Jan 10, 2025
1 parent ce21c6d commit cbaf78e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,16 @@ jobs:
with:
python-version: ${{ matrix.python }}

- name: Get compile errors
run: |
pip3.exe install --user build
pyproject-build.exe > err.txt 2>&1 || true
shell: pwsh
- name: Achrive
uses: actions/upload-artifact@v4
with:
path: err.txt

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
with:
Expand Down
12 changes: 7 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,13 @@ else ()
gomp
)
endif ()
target_link_libraries(gaussianfft_gaussianfft PRIVATE
pthread
m
dl
)
if (NOT WIN32)
target_link_libraries(gaussianfft_gaussianfft PRIVATE
pthread
m
dl
)
endif ()
endif ()

# ---- Install rules ----
Expand Down
2 changes: 2 additions & 0 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def _add_file(repl: str, file_regex):
file = file.relative_to(root)
except ValueError:
if not use_absolute:
# FIXME: There are problems on windows with this...
continue
raise
name = str(file)
if name in files:
Expand Down

0 comments on commit cbaf78e

Please sign in to comment.