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

FBGEMM: GCC 5+ and AVX2 required #24356

Merged
merged 1 commit into from
Jun 18, 2021

Conversation

adamjstewart
Copy link
Member

@adamjstewart adamjstewart commented Jun 16, 2021

Copy link
Contributor

@tldahlgren tldahlgren left a comment

Choose a reason for hiding this comment

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

LGTM.

@tldahlgren
Copy link
Contributor

tldahlgren commented Jun 16, 2021

Awaiting feedback from @dskhudia before enabling merge.

@@ -35,4 +35,12 @@ class Fbgemm(CMakePackage):
depends_on('python', type='build')
depends_on('llvm-openmp', when='%apple-clang')

conflicts('%gcc@:4', msg='FBGEMM requires GCC 5+')

Choose a reason for hiding this comment

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

Does this make sure that we are running using GCC5+?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, if the user tries to use GCC 4 or older, it will error out and print this message.

Btw, Spack supports several different compilers, so if you know the minimum version of other compilers we can add those too.

@adamjstewart adamjstewart merged commit 8ad05d6 into spack:develop Jun 18, 2021
@adamjstewart adamjstewart deleted the packages/fbgemm branch June 18, 2021 13:49
bollig pushed a commit to bollig/spack that referenced this pull request Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants