Replies: 29 comments 7 replies
-
I'm working on CI/CD as one of my tasks (https://github.com/coder5506/cm3/actions/runs/1311614825 ). Currently I have automated build, install, test, and test reports working for Linux and MacOS, for both the C and integrated GCC backends. I'm trying to get the LLVM backend working and not having a lot of luck. I'm working with LLVM 9 on both Linux and MacOS (because that is the oldest LLVM I can get without going to extraordinary measures) and, with some modifications, I am able to build and install the So I'm hoping somebody can tell me what the current status of the LLVM backend is. Is it expected to work? On what platforms? If it's too early to expect it to work in a CI/CD context, I'm happy to drop it, but if it's just user error I need to know so that I can continue to try. Thanks! |
Beta Was this translation helpful? Give feedback.
-
LLVM 10 is good variant too
On Windows x64 LLVM 10 and LLVM 9 backends can compile "Hello.exe" from examples folder |
Beta Was this translation helpful? Give feedback.
-
You are welcome! ( In fact I was public files in goal to help with CI/CD for Windows ( and "free Windows" ReactOs )
I am not sure ;-( in fact "cm3 LLVM for Linux" may be can work with debugger, etc
May be we can try "AppVeyor CI" ? |
Beta Was this translation helpful? Give feedback.
-
( about "AppVeyor CI" I wrote in "CM3 Maillist". I going to find direct URL to this message. )
We can temporary forgot about ReactOS
It's good idea |
Beta Was this translation helpful? Give feedback.
-
( }} Error: Resource not accessible by integration I even known this tests: |
Beta Was this translation helpful? Give feedback.
-
I see: = = We can't "buildship all" because that runs out of memory in the Windows CI Also the m3tests suite does not work on Windows. Each test is run as c) out of memory d) z) "./pgm.exe" |
Beta Was this translation helpful? Give feedback.
-
No luck on the out-of-memory issue. The VM has 2 cores, so I set None of this happens when I build "by hand" in a Windows VM, only in the CI environment.
The issue with the blank line in |
Beta Was this translation helpful? Give feedback.
-
We can see detail in P.S. P.P.S. -- |
Beta Was this translation helpful? Give feedback.
-
... |
Beta Was this translation helpful? Give feedback.
-
Now I going to test \scripts\dev\windows\RCC_upgradeCM3_All_AMD64_NT.cmd I hope avoid this error:
= = = Done: = = =
= = = but cm3.cfg is "Big size style". I restore "small size" cm3.cfg from backup. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
... |
Beta Was this translation helpful? Give feedback.
-
issuecomment-950853096
issuecomment-950854115
|
Beta Was this translation helpful? Give feedback.
-
... |
Beta Was this translation helpful? Give feedback.
-
issuecomment-950865609
|
Beta Was this translation helpful? Give feedback.
-
... |
Beta Was this translation helpful? Give feedback.
-
... |
Beta Was this translation helpful? Give feedback.
-
... |
Beta Was this translation helpful? Give feedback.
-
Quick status update on the CI for those who are following. The problem with the Windows builds turned out not to be the Github CI environment, but just that our Python scripts are old and crufty. In particular, Anyway, as Right now we have working CI on Linux, MacOS, and Win32. Mingw is not working because I don't have a working Mingw build to start with, and I'm unable to create one because the old scripts don't work. I expect to add Mingw once I've finished cleaning up the "boot" and "make-dist" functionality. Since @Pawlicker was kind enough to contribute a working Arm build, and CircleCI has Arm support, I'll try to get ARM64_LINUX build working on CircleCI when I have a chance. Lastly, I did try speeding up build times by leaving out the GUI builds, but it didn't save much time and greatly reduced the scope of the CI, so for now they're still there. I do have plans to define a "headless" package set, but not urgently. The plan right now is:
|
Beta Was this translation helpful? Give feedback.
-
I.e. "both Win32 and Win64" ( as I see)
Binary releases } old scripts don't work If 8a842be is good as "source code" for build AMD64_MINGW by "boot1.py + boot2.py way" then I will prepare "reverse patch" |
Beta Was this translation helpful? Give feedback.
-
It doesn't be a problem: I will prepare new 7c...c9 MinGW release
…
01.11.2021, 20:12, "Eric Sessoms" ***@***.***>:
Thanks, I tried your Mingw build, but it apparently does not include this patch 17f0fdc and so cannot build current code.
If you have time to work on it, the required step are:
Rollback to bf48f02 or earlier
Cherry-pick the above commit 17f0fdc
Build the compiler
Roll forward to again to 7c767c9
Build the compiler
Make a distribution
Then I should be able to use that for Mingw CI. I couldn't do it because the make-dist script doesn't work for me on Windows.
|
Beta Was this translation helpful? Give feedback.
-
Please see #772
|
Beta Was this translation helpful? Give feedback.
-
Trying it now. |
Beta Was this translation helpful? Give feedback.
-
Thank!
I hope "all be good" ;-)
… 02.11.2021, 18:36, "Eric Sessoms" ***@***.***>: Trying it now.
|
Beta Was this translation helpful? Give feedback.
-
These builds are good. I wasn't quite able to finish the Mingw CI today, but it should get done tomorrow. |
Beta Was this translation helpful? Give feedback.
-
} These builds are good.
Ok. Thank!
} Mingw CI
Yes, thank, I see commit dede296 in "ci" branch, etc
… 03.11.2021, 02:25, "Eric Sessoms" ***@***.***>:
These builds are good. I wasn't quite able to finish the Mingw CI today, but it should get done tomorrow.
|
Beta Was this translation helpful? Give feedback.
-
I love it when a plan comes together. https://github.com/modula3/cm3/actions/runs/1416147775 That just leaves Arm, for now. |
Beta Was this translation helpful? Give feedback.
-
03.11.2021, 13:33, "Eric Sessoms" ***@***.***>:
I love it when a plan comes together. >https://github.com/modula3/cm3/actions/runs/1416147775
That just leaves Arm, for now.
Yes: it's a good news
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We have no automated CI/CD. Someone please fix?
Beta Was this translation helpful? Give feedback.
All reactions