Skip to content

Commit

Permalink
Fix compiler warning for conda-forge (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaogaotiantian authored Mar 10, 2024
1 parent f7f9b6b commit 49a1dcf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ on:
paths:
- "src/viztracer/**"
- "tests/**"
- "setup.py"
- ".github/workflows/python-package.yml"
pull_request:
paths:
- "src/viztracer/**"
- "tests/**"
- "setup.py"
- ".github/workflows/python-package.yml"

jobs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
branches: [ master ]
paths:
- "src/viztracer/**"
- "setup.py"
- ".github/workflows/wheels.yml"
pull_request:
paths:
- "src/viztracer/**"
- "setup.py"
- ".github/workflows/wheels.yml"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"src/viztracer/modules/vcompressor/vcompressor.c",
"src/viztracer/modules/vcompressor/vc_dump.c",
],
extra_compile_args={"win32": []}.get(sys.platform, ["-Werror", "-std=c99"]),
extra_compile_args={"win32": []}.get(sys.platform, ["-Wno-unused-result", "-Werror", "-std=c99"]),
),
],
)

0 comments on commit 49a1dcf

Please sign in to comment.