-
Notifications
You must be signed in to change notification settings - Fork 475
conda win back to avx #2384
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
conda win back to avx #2384
Conversation
|
Whoops, good catch. I just copied the flags from what they were in libxc... |
|
I'm rather confused on the flag situation. Points:
So perhaps the original #2292 fix was a dud, and we've just gotten lucky about being built on older AVX nodes where march=native does the trick. (We may have been helped for this by using an old build env that they're about to retire.) |
|
Ok, I think I understand things better now.
I should probably turn off verbose compile in general, then this PR is rtg. |
|
@loriab thanks for a thorough explanation! I guess these fixes should also get backported in libxc's cmake... |
yes. It's getting long enough I'd almost rather do a separate file under |
|
Not related to the issue at hand, but since changes are made to it: |
Thanks, @hokru, do you know if there's a flag for Apple Silicon ARM that should be used in place of |
|
I didn't find anything. There is a related stackexchange discussion https://stackoverflow.com/questions/65966969/why-does-march-native-not-work-on-apple-m1 They suggest the |
|
Interesting stuff. As for the Apple M1, I guess it depends whether we'll be pushing out a released and tested binaries for Apple M1 before clang gets around fixing the defaults, right? |
* Update azure-pipelines-windows.yml * Update azure-pipelines-windows.yml * Update CMakeLists.txt * Update CMakeLists.txt * Update azure-pipelines-windows.yml * Update CMakeLists.txt * Update CMakeLists.txt * send xhost logic to separate file
Description
I just noticed that #2377 changed Win flag from avx to avx2. That is good b/c that's what we say in the comment happens. But that's bad b/c the Win conda package will stop working for many computers again. Hopefully this compromise works for both cases.
Status