|
|
Home » Developing U++ » U++ Developers corner » [Proposal] The maintainer and the future of TURTLE package
|
|
|
|
|
|
Re: [Proposal] The maintainer and the future of TURTLE package [message #55993 is a reply to message #55948] |
Sun, 10 January 2021 05:28 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Tue, 05 January 2021 14:22Novo wrote on Tue, 05 January 2021 19:05mirek wrote on Tue, 05 January 2021 12:00
Speaking of which: It would be great if your automated building infrastructure started scanning UppHub. Do you think it would be possible?
Theoretically, yes.
What do I need to do for that?
Preliminary: Start here:
https://github.com/ultimatepp/ultimatepp/blob/master/upphub. root
then scan through all lists, clone/pull nests, compile (or even test).
I will create some docs about the listings json format soon...
Initial version works.
I can read json file from internet, retrieve repo url, scan for *.upp files, and build them.
Unfortunately, the very first error I get with the package Urr is
undefined reference to `main'
I can read more settings from the json file, like to build a package or not, supported platforms and compilers.
In my own current configuration I manually support lists of packages for each platform. That includes U++.
Regards,
Novo
|
|
|
Re: [Proposal] The maintainer and the future of TURTLE package [message #55998 is a reply to message #55993] |
Sun, 10 January 2021 18:41 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
Novo wrote on Sat, 09 January 2021 23:28
I can read more settings from the json file, like to build a package or not, supported platforms and compilers.
On second thought, I won't be able to pass configuration parameters from a json file, which I read on a master node, to a worker node, which is dynamically generating build steps.
This means that I can support only two modes:
1) All projects should be buildable on all platforms with all compilers.
2) I manually support lists of build steps.
1 is much easier to support.
2 is more realistic.
Regards,
Novo
|
|
|
|
|
Re: [Proposal] The maintainer and the future of TURTLE package [message #56006 is a reply to message #56005] |
Tue, 12 January 2021 07:15 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
Oblivion wrote on Tue, 12 January 2021 00:48Hello Novo,
Quote:It would be great to add code below to packages Turtle and Skylark:
I have added the lines to Turtle/Init.cpp, please check.
Best regards,
Oblivion
Thanks! It would be great to do the same with Skylark.
I cannot build Turtle on Mac.
./umk .,/Users/ssg/dvlp/cpp/code/upp/git/uppsrc examples/WebHelloWorld CLANGcpp17 -bus
/Users/ssg/dvlp/cpp/code/upp/git/uppsrc/CtrlLib/CtrlUtil.h:57:7: error: redefinition of 'PrinterJob'
class PrinterJob {
^
/Users/ssg/dvlp/cpp/code/upp/git/uppsrc/VirtualGui/VirtualGui.h:109:7: note: previous definition is here
class PrinterJob { // Dummy only...
^
Regards,
Novo
|
|
|
|
Re: [Proposal] The maintainer and the future of TURTLE package [message #56009 is a reply to message #56007] |
Tue, 12 January 2021 20:33 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
Oblivion wrote on Tue, 12 January 2021 03:03
Edit: I have removed the switch from the examples. Please check.
Best regards,
Oblivion
It is still broken:
/Users/ssg/dvlp/cpp/code/upp/git/uppsrc/VirtualGui/VirtualGui.h:110:22: error: expected member name or ';' after declaration specifiers; 'nullptr' is a keyword in Objective-C++
NilDraw nil;
~~~~~~~ ^
/usr/include/objc/objc.h:106:16: note: expanded from macro 'nil'
# define nil nullptr
^
This is a MacOS problem. Theoretically, it should be detected by an Upp build. But Upp build seems to be fine.
Regards,
Novo
|
|
|
Re: [Proposal] The maintainer and the future of TURTLE package [message #56010 is a reply to message #56007] |
Tue, 12 January 2021 20:38 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
Oblivion wrote on Tue, 12 January 2021 03:03
Is your build system reading the *upp files?
Nope. I'm not parsing .upp files. I'm planning to make my own replacement of umk in the future, but this task has low priority.
Supporting of the build system is a full time job already.
Regards,
Novo
|
|
|
|
Re: [Proposal] The maintainer and the future of TURTLE package [message #56063 is a reply to message #56052] |
Tue, 19 January 2021 17:09 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Tue, 19 January 2021 03:34
Is this a good idea?
Definitely not a good idea, but that could've fix Skylark build quickly and easily ...
I'll make my own umk-like tool. This is a lot of pain, but I need it anyway. Can't guarantee this will happen soon ...
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Fri Sep 20 21:18:31 CEST 2024
Total time taken to generate the page: 0.02880 seconds
|
|
|