Skip to content

Commit 8f52f5d

Browse files
authored
Merge pull request #322 from nim65s/arch
ci: add ArchLinux
2 parents 7c4da9c + 324e236 commit 8f52f5d

File tree

4 files changed

+33
-2
lines changed

4 files changed

+33
-2
lines changed

.github/workflows/ci-arch.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI - ArchLinux
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build-with-arch:
9+
runs-on: "ubuntu-latest"
10+
container:
11+
image: archlinux/archlinux:base-devel
12+
steps:
13+
- run: pacman -Syu --noconfirm cmake eigen git libmatio python-scipy simde
14+
15+
- uses: actions/checkout@v4
16+
with:
17+
submodules: true
18+
19+
- run: cmake -B build -S . -DBUILD_PYTHON_INTERFACE=ON
20+
- run: cmake --build build
21+
- run: cmake --build build -t test

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

77
## [Unreleased]
88

9+
### Fixed
10+
* Fixes compilation issue with GCC 14 on Arch ([#322](https://github.com/Simple-Robotics/proxsuite/pull/322))
11+
912
### What's Changed
1013
* Change from torch.Tensor to torch.empty or torch.tensor and specify type explicitly ([#308](https://github.com/Simple-Robotics/proxsuite/pull/308))
1114
* Fix handling of batch of inequality constraints in `QPFunctionFn_infeas`. The derivations in qplayer was done for single-sided constraints, that's the reason for the concatenation but the expansion of batchsize dimension was not working properly ([#308](https://github.com/Simple-Robotics/proxsuite/pull/308))

include/proxsuite/linalg/veg/internal/integer_seq.hpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,15 @@ template<typename T, typename... Ts>
234234
using position_of = typename _detail::pack_idx_elem<T>::template Type<Ts...>;
235235

236236
#if VEG_HAS_BUILTIN(__type_pack_element)
237+
namespace _detail {
238+
template<usize I, typename... Ts>
239+
struct type_pack_element
240+
{
241+
using type = __type_pack_element<I, Ts...>;
242+
};
243+
}
237244
template<usize I, typename... Ts>
238-
using ith = __type_pack_element<I, Ts...>;
245+
using ith = typename _detail::type_pack_element<I, Ts...>::type;
239246
#else
240247
template<usize I, typename... Ts>
241248
using ith = typename _detail::pack_ith_elem<I>::template Type<Ts...>;

0 commit comments

Comments
 (0)