Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for slow compilation with apple-clang #650

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 26, 2024

  1. Fix for slow compilation with apple-clang

    The new version of the `Representation` concept using
    `detail::ScalarRepresentation`, `detail::ComplexRepresentation`,
    `detail::VectorRepresentation`, `detail::TensorRepresentation` was
    causing some translation units to take two orders of magnitude longer to
    compile.  This was observed with Xcode 15.1 and 15.4.
    
    As a workaround use the old implementation of `Representation` when
    building with apple-clang.
    
    The new implementation should be tested with Xcode 16 to see if this
    workaround needs to be applied to all shipping versions of apple-clang
    or <16.
    
    More investigation could be done to try to allow the new constrained
    behavior in a more efficient way now that we have isolated the issue.
    rothmichaels committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    20178cd View commit details
    Browse the repository at this point in the history