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

Help test C++ polymorphic allocator support #272

Open
apjanke opened this issue May 6, 2024 · 0 comments
Open

Help test C++ polymorphic allocator support #272

apjanke opened this issue May 6, 2024 · 0 comments
Assignees
Labels
upstream Problem originates with or depends on something in an upstream package (like Octave itself, or Qt)
Milestone

Comments

@apjanke
Copy link
Contributor

apjanke commented May 6, 2024

Make a formula to help the core Octave folks test out the C++ "polymorphic allocator" --enable-std-pmr-polymorphic-allocator option on macOS.

(This was requested a couple months ago; not sure how relevant it is now as of 2024-05-05.)

Progress summary

Work is on the "WIP/polly-olly" branch in the homebrew-octave-app repo.

New formula is octave-polyalloc@9.1.0. To use it, do:

brew tap octave-app/octave-app
brew install octave-polyalloc@9.1.0

This should work with a standard Homebrew installation; no other config changes needed. I think.

Currently, the octave-polyalloc@9.1.0 formula just adds the --enable-std-pmr-polymorphic-allocator option to the ./configure args. I'm not sure if other stuff is needed, since I haven't read through all the threads on the Discourse, and I'm not that familiar with C++ in the first place.

References

@apjanke apjanke added the upstream Problem originates with or depends on something in an upstream package (like Octave itself, or Qt) label May 6, 2024
@apjanke apjanke added this to the The Future milestone May 6, 2024
@apjanke apjanke self-assigned this May 6, 2024
@apjanke apjanke changed the title Test C++ polymorphic allocator Test C++ polymorphic allocator support May 6, 2024
@apjanke apjanke changed the title Test C++ polymorphic allocator support Help test C++ polymorphic allocator support May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Problem originates with or depends on something in an upstream package (like Octave itself, or Qt)
Projects
None yet
Development

No branches or pull requests

1 participant