|
|
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: 1133 Registered: December 2006
|
Senior 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: 1133 Registered: December 2006
|
Senior 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: 1133 Registered: December 2006
|
Senior 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 #56007 is a reply to message #56006] |
Tue, 12 January 2021 09:03   |
Oblivion
Messages: 827 Registered: August 2007
|
Experienced Contributor |
|
|
Quote:I cannot build Turtle on Mac.
./umk .,/Users/ssg/dvlp/cpp/code/upp/git/uppsrc examples/WebHelloWorld CLANGcpp17 -bus
Is your build system reading the *upp files? Turtle examples allow GUI/TURTLEGUI switching and it seems like the TURTLEGUI flag in the package configuration file is not getting activated. This flag should bring in the CtrlLib/Turtle packages in a mutually exclusive way.)
Maybe I should remove the switch from the reference examples. (Since these switches are already available to user, with project templates.)
Edit: I have removed the switch from the examples. Please check.
Best regards,
Oblivion
upp-components: https://github.com/ismail-yilmaz/upp-components
[Updated on: Tue, 12 January 2021 09:22] Report message to a moderator
|
|
|
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: 1133 Registered: December 2006
|
Senior 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: 1133 Registered: December 2006
|
Senior 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
|
|
|
|
Goto Forum:
Current Time: Tue Jan 19 10:39:36 CET 2021
Total time taken to generate the page: 0.01578 seconds
|
|
|