Skip to content

Commit

Permalink
Update clang, fix CI (#768)
Browse files Browse the repository at this point in the history
* Update clang

* add cstdint
  • Loading branch information
Manishearth authored Jan 20, 2025
1 parent 22aa043 commit ad2ec60
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
uses: taiki-e/install-action@cargo-make

- name: clang
run: CXX=clang++-14 cargo make test-cpp
run: CXX=clang++-16 cargo make test-cpp

- name: gcc
run: CXX=g++ cargo make test-cpp
Expand Down
2 changes: 1 addition & 1 deletion example/cpp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
ALL_HEADERS := $(wildcard *.h) $(wildcard *.hpp) $(wildcard tests/*.hpp)
ALL_RUST := $(wildcard ../src/*.rs)

CXX?=clang++-14
CXX?=clang++-16

$(ALL_RUST):

Expand Down
1 change: 1 addition & 0 deletions example/cpp/include/diplomat_runtime.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion feature_tests/cpp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
ALL_HEADERS := $(wildcard include/*.h) $(wildcard include/*.hpp) $(wildcard tests/*.hpp)
ALL_RUST := $(wildcard ../src/*.rs)

CXX?=clang++-14
CXX?=clang++-16

$(ALL_RUST):

Expand Down
1 change: 1 addition & 0 deletions feature_tests/cpp/include/diplomat_runtime.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tool/templates/cpp/runtime.hpp.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <string>
#include <type_traits>
#include <variant>
#include <cstdint>

#if __cplusplus >= 202002L
#include <span>
Expand Down

0 comments on commit ad2ec60

Please sign in to comment.