Skip to content

chore(deps): Update the FastPFOR C++ library to v0.3.1#62

Merged
nyurik merged 7 commits into
fast-pack:mainfrom
yutannihilation:chore/update-cpp-v0.3.1
Feb 25, 2026
Merged

chore(deps): Update the FastPFOR C++ library to v0.3.1#62
nyurik merged 7 commits into
fast-pack:mainfrom
yutannihilation:chore/update-cpp-v0.3.1

Conversation

@yutannihilation

Copy link
Copy Markdown
Contributor

Currently, the build fails on macOS with this error. It seems something is wrong with this version of FastPFOR's cmake_modules/simde.cmake. Fortunately, it seems it's fixed in the latest release. So, this pull request updates the C++ library.

(Honestly, I'm not sure what problem this is and why this works now. The only change on the file was that specifying the commit hash of simde's repository (fast-pack/FastPFOR@f7771da))

  Building for architecture: arm64
  CMake Error at cmake_modules/simde.cmake:9 (add_library):
    add_library cannot create imported target "simde" because another target
    with the same name already exists.
  Call Stack (most recent call first):
    CMakeLists.txt:47 (include)

Copilot AI review requested due to automatic review settings February 25, 2026 09:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the FastPFOR C++ library submodule from version 0.3.0 to 0.3.1 to resolve a macOS build failure caused by a duplicate target name issue in the simde.cmake file. The update also adds macOS testing to the CI workflow to prevent similar platform-specific issues in the future.

Changes:

  • Updated the FastPFOR C++ library submodule to v0.3.1 (commit aa1a6c36)
  • Added macOS testing job to the CI workflow

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
cpp Updated FastPFOR submodule commit hash to v0.3.1
.github/workflows/ci.yml Added test-macos job and updated ci-passed dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml
yutannihilation and others added 4 commits February 25, 2026 18:17
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@yutannihilation yutannihilation changed the title Update the FastPFOR C++ library to v0.3.1 chore(deps): Update the FastPFOR C++ library to v0.3.1 Feb 25, 2026
@codecov

codecov Bot commented Feb 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@nyurik
nyurik force-pushed the chore/update-cpp-v0.3.1 branch from e88f3d4 to acf7809 Compare February 25, 2026 17:33

@nyurik nyurik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@nyurik
nyurik merged commit c80e497 into fast-pack:main Feb 25, 2026
13 checks passed
nyurik added a commit that referenced this pull request Feb 25, 2026
…alled yet (#63)

(In order to fix build on aarch64 platfroms, #62 is still needed in
addition to this change)

I was wondering why [the FastPFOR-rs
repository](https://github.com/fast-pack/FastPFOR) tests macOS runner
without installing SIMDe; FastPFOR fetches and build SIMDe
automatically. However, it seems the include path and define are not
configured correctly when with `cxx_build::bridge()`. So, this pull
request attempts to fix it by manually doing the equivalent to this part
of `cmake_modules/simde.cmake`.

```cmake
target_include_directories(simde INTERFACE "${simde_SOURCE_DIR}")

# Enables native aliases. Not ideal but makes it easier to convert old code.
target_compile_definitions(simde INTERFACE SIMDE_ENABLE_NATIVE_ALIASES)
```

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com>
@yutannihilation
yutannihilation deleted the chore/update-cpp-v0.3.1 branch February 25, 2026 22:00
CommanderStorm added a commit to maplibre/maplibre-tile-spec that referenced this pull request Feb 25, 2026
I believe fast-pack/FastPFOR-rs#62 and
fast-pack/FastPFOR-rs#63 fixed the compilation
problem on aarch64 platforms. Now that FastPFOR is updated to v0.7, I
think we can enable build on Arm Linux and Arm macOS again (At least, I
have no difficulty to build this on my macOS).

(But, I don't know what issues "Currently, seems flaky" comment refers
to, so it's possible I miss some problems...)

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants