Skip to content

Commit

Permalink
Merge pull request #322 from nim65s/arch
Browse files Browse the repository at this point in the history
ci: add ArchLinux
  • Loading branch information
jcarpent authored Jun 1, 2024
2 parents 7c4da9c + 324e236 commit 8f52f5d
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci-arch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI - ArchLinux

on:
push:
pull_request:

jobs:
build-with-arch:
runs-on: "ubuntu-latest"
container:
image: archlinux/archlinux:base-devel
steps:
- run: pacman -Syu --noconfirm cmake eigen git libmatio python-scipy simde

- uses: actions/checkout@v4
with:
submodules: true

- run: cmake -B build -S . -DBUILD_PYTHON_INTERFACE=ON
- run: cmake --build build
- run: cmake --build build -t test
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

### Fixed
* Fixes compilation issue with GCC 14 on Arch ([#322](https://github.com/Simple-Robotics/proxsuite/pull/322))

### What's Changed
* Change from torch.Tensor to torch.empty or torch.tensor and specify type explicitly ([#308](https://github.com/Simple-Robotics/proxsuite/pull/308))
* 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))
Expand Down
9 changes: 8 additions & 1 deletion include/proxsuite/linalg/veg/internal/integer_seq.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,15 @@ template<typename T, typename... Ts>
using position_of = typename _detail::pack_idx_elem<T>::template Type<Ts...>;

#if VEG_HAS_BUILTIN(__type_pack_element)
namespace _detail {
template<usize I, typename... Ts>
struct type_pack_element
{
using type = __type_pack_element<I, Ts...>;
};
}
template<usize I, typename... Ts>
using ith = __type_pack_element<I, Ts...>;
using ith = typename _detail::type_pack_element<I, Ts...>::type;
#else
template<usize I, typename... Ts>
using ith = typename _detail::pack_ith_elem<I>::template Type<Ts...>;
Expand Down

0 comments on commit 8f52f5d

Please sign in to comment.