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

how to enable folly with sse4.2 #2114

Closed
ZhaoHaoRu opened this issue Dec 27, 2023 · 2 comments
Closed

how to enable folly with sse4.2 #2114

ZhaoHaoRu opened this issue Dec 27, 2023 · 2 comments

Comments

@ZhaoHaoRu
Copy link

I am trying to use folly in my own project. My project uses the sse4.2 compilation option. When linking, an error is reported: undefined reference to folly::f14::detail::F14LinkCheck<(folly: :f14::detail::F14IntrinsicsMode)2>::check(), according to the comments, this error is caused by compilation flags varying across compilation units, because my own project must use sse4.2. How to solve this error by changing folly's compilation option?
image

Env

OS: Linux 6.2.9-300.fc38.x86_64

@skimhugo
Copy link

I guess you picked out the dependencies for f14, but you didn't find them all. For example, you probably didn't pick out the detail/Sse.cpp and its header.

@ZhaoHaoRu
Copy link
Author

ZhaoHaoRu commented May 20, 2024

I directly commented out the relevant checks in folly/container/detail/F14Table.h, and there were no problems when running.

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

No branches or pull requests

2 participants