Skip to content

LIBINT2_USER_DEFINED_REAL_INCLUDES works correctly#405

Merged
evaleev merged 1 commit intoevaleev:v2.13.xfrom
johannes-menzel:jmenzel/fix-agner-vectorclass
Feb 27, 2026
Merged

LIBINT2_USER_DEFINED_REAL_INCLUDES works correctly#405
evaleev merged 1 commit intoevaleev:v2.13.xfrom
johannes-menzel:jmenzel/fix-agner-vectorclass

Conversation

@johannes-menzel
Copy link
Contributor

On the current master branch the following CMake configuration using Agner Fog's vectorclass fails

cmake -B build -DLIBINT2_GENERATE_FMA=ON -DLIBINT2_REALTYPE=Vec4d -DLIBINT2_USER_DEFINED_REAL_INCLUDES="#include <vectorclass.h>" -DCMAKE_CXX_FLAGS="-I/path/to/agner/fog/vectorclass/version2 -march=native" -DLIBINT2_REQUIRE_CXX_API_COMPILED=OFF -DLIBINT2_BUILD_SHARED_AND_STATIC_LIBS=ON

because the DLIBINT2_USER_DEFINED_REAL_INCLUDES option is not passed to the library configure stage.
This small commit fixes this.

@evaleev evaleev changed the base branch from master to v2.13.x February 27, 2026 13:10
@evaleev evaleev merged commit 9083880 into evaleev:v2.13.x Feb 27, 2026
10 checks passed
@evaleev evaleev changed the title Fix option to use Agner Fog vectorclass LIBINT2_USER_DEFINED_REAL_INCLUDES works correctly Feb 27, 2026
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.

2 participants