-
Notifications
You must be signed in to change notification settings - Fork 285
Try to fix Appveyor #1282
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
Try to fix Appveyor #1282
Conversation
50eb1a4 to
5244629
Compare
|
@fredrik-johansson I have tried everything I can now (tried to emulate Arb's CMakeLists.txt), and it never shows any proper error messages. If you have a solution I am all for it, but now I'm out of Microsoft tolerance haha. |
|
One important note, however, is that you probably want to keep the changes in Now it just doesn't like linking. |
|
@isuruf Want to have a look at this? |
|
Forcing IPO in cmake at https://github.com/flintlib/flint2/blob/trunk/CMakeLists.txt#L309-L318 takes too much memory and gets killed. |
Is that the problem though? |
That's the first problem. Removing IPO, builds the flint2 library, but building tests fail. |
|
If it's just the data it should be an easy fix. Will probably get around to doing it tomorrow. Thanks for your input! |
|
I've got a branch at https://github.com/isuruf/flint2/tree/fix_windows |
|
Can you merge my branch to yours? There are only a few errors after that
|
|
Yes, that's fine! Do you wanna add a copyright claimer to CMakeLists.txt? Mainly so we know who got the knowledge. |
|
Isuru, would you be fine by replacing AppVeyor with the MSVC CI? I could also add a 32-bit checker if you'd like. |
|
Why? This would not work.
I'm not sure what you mean by MSVC CI.
Sure. |
Oh, I thought
I mean the Github action. |
Sorry. I made that comment before 9cef372. 9cef372 should fix all the linking errors. At 9cef372 we have only two errors The following tests FAILED: |
ea58b46 to
27709d8
Compare
Likely due to the test program allocating temporaries on the stack inside the main loop and overflowing the stack (a bunch of other gr test programs potentially suffer from this as well, and need to be fixed).
Don't really have a clue here. |
|
I will put the responsibility on you, Fredrik! Do you want me to merge this for the time being? Will squash commits, add copyright to |
|
Sure, this can be merged. |
Previously, windows.h was included which resulted in errors for pure Windows machines. Now Windows will emulate what Unix-type systems does. Moreover, a MSVC CI was added in order to the need for AppVeyor.
Windows needs import and export symbols for data. Moreover, Windows crashed because of interprocedural optimizations in CMake; this was removed.
27709d8 to
013777d
Compare
The error message we currently get in AppVeyor is very cryptic. Here is an attempt to fix it.