Skip to content

Commit

Permalink
Fix chrono issues by upgrading required Clang to 15, modify Intel rou…
Browse files Browse the repository at this point in the history
…nding for compatibility
  • Loading branch information
lgeretti committed Nov 1, 2023
1 parent 747853b commit 77f51cb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
cxx: "g++-12"
}
- {
name: "Ubuntu 22.04 Clang 14 [Debug]",
name: "Ubuntu 22.04 Clang 15 [Debug]",
os: ubuntu-22.04,
cxx: "clang++-14"
cxx: "clang++-15"
}
- {
name: "Ubuntu 22.04 GCC 12 [Debug]",
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
- name: Set Up Linux Dependencies
if: runner.os == 'Linux'
run: |
sudo apt install -y cmake ninja-build pkg-config clang-14 g++-12 libcairo2-dev gnuplot libmpfr-dev python3-pip python3-dev
sudo apt install -y cmake ninja-build pkg-config clang-15 g++-12 libcairo2-dev gnuplot libmpfr-dev python3-pip python3-dev
sudo pip3 install pytest
- name: Create Build Environment
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,10 @@ jobs:
cxx-cmd: "g++-12"
}
- {
name: "Ubuntu 22.04 Clang 11 [Release]",
name: "Ubuntu 22.04 Clang 15 [Release]",
os: ubuntu-22.04,
cxx-pkg: "clang-11",
cxx-cmd: "clang++-11"
}
- {
name: "Ubuntu 22.04 Clang 14 [Release]",
os: ubuntu-22.04,
cxx-pkg: "clang-14",
cxx-cmd: "clang++-14"
cxx-pkg: "clang-15",
cxx-cmd: "clang++-15"
}
- {
name: "Ubuntu 22.04 GCC 10 [Release]",
Expand Down
2 changes: 1 addition & 1 deletion source/numeric/rounding.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

namespace Ariadne {

typedef std::uint16_t rounding_mode_t;
typedef __uint16_t rounding_mode_t;

const rounding_mode_t ROUND_TO_NEAREST = _MM_ROUND_NEAREST;
const rounding_mode_t ROUND_DOWNWARD = _MM_ROUND_DOWN;
Expand Down

0 comments on commit 77f51cb

Please sign in to comment.