Skip to content

Commit ffceb5a

Browse files
committed
drop -Wpedantic
- vis. wjakob/nanobind#408
1 parent 852e10b commit ffceb5a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
git clean -Xdf
4848
pip install build
4949
python -m build -n -w \
50-
-Ccmake.define.CMAKE_CXX_FLAGS="-Wall -Wextra -Wpedantic -Werror -Wno-missing-field-initializers -Wno-unused-parameter -Wno-cast-function-type"
50+
-Ccmake.define.CMAKE_CXX_FLAGS="-Wall -Wextra -Werror -Wno-missing-field-initializers -Wno-unused-parameter -Wno-cast-function-type"
5151
cuda:
5252
if: github.event_name != 'pull_request' || !contains('OWNER,MEMBER,COLLABORATOR', github.event.pull_request.author_association)
5353
name: CUDA py${{ matrix.python }}
@@ -79,7 +79,7 @@ jobs:
7979
git clean -Xdf
8080
pip install build
8181
python -m build -n -w \
82-
-Ccmake.define.CMAKE_CXX_FLAGS="-Wall -Wextra -Wpedantic -Werror -Wno-missing-field-initializers -Wno-unused-parameter -Wno-cast-function-type" \
82+
-Ccmake.define.CMAKE_CXX_FLAGS="-Wall -Wextra -Werror -Wno-missing-field-initializers -Wno-unused-parameter -Wno-cast-function-type" \
8383
-Ccmake.define.CMAKE_CUDA_ARCHITECTURES=all
8484
- name: Post Run setup-python
8585
run: setup-python -p${{ matrix.python }} -Dr

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ print("\0".join(c["build-system"]["requires"] + c["project"]["dependencies"] + c
1717
git clean -Xdf
1818
pip install --no-build-isolation --no-deps -t . -U -v . \
1919
-Ccmake.define.CUVEC_DEBUG=1
20-
-Ccmake.define.CMAKE_CXX_FLAGS="-Wall -Wextra -Wpedantic -Werror -Wno-missing-field-initializers -Wno-unused-parameter -Wno-cast-function-type"
20+
-Ccmake.define.CMAKE_CXX_FLAGS="-Wall -Wextra -Werror -Wno-missing-field-initializers -Wno-unused-parameter -Wno-cast-function-type"
2121
git restore numcu/src # undo deletion of sources
2222
```
2323

0 commit comments

Comments
 (0)