-
Notifications
You must be signed in to change notification settings - Fork 67
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
[WIP] Makefile [WIP] #64
base: master
Are you sure you want to change the base?
Conversation
FYI I just merged a C version. |
I've seen the notification email. Also I do a rebase every now and then to keep track of upstream changes. Of course I'll do a final rebase when it is done, to make it auto-mergeable. |
As I'm still drafting needed targets, what's the purpose of edit I tried it, using the Using
|
compare_full is an old script that takes one output as the etalon and compares the rest with it. Unfortunately they differ so much that it makes little sense to use this script at all. Maybe we should delete it. |
Okay, so I will not consider it during the transition, but I will not delete it either. If you really think it is obselete please do that change upstream, it's your file and your project at last. |
There are currently two C# sourcefiles, both capable to be compiled into an exectuable file, but only one of them is used in Shall I drop the other one silently, keep both but compile only the one which is in |
I think we only want to keep one of them (WordCount), you can ignore the other. There is a pending C# PR, after that, I'll clean up the directory. |
So I'll wait doing the C# related stuff a bit until that got merged. |
Thanks, I'll try to speed it up. If the author doesn't respond, I'll finish it. |
Take your time, as you can see in the to-do list, there are quite some Judit Acs [email protected] schrieb am Di., 29. März 2016 16:24:
|
@@ -0,0 +1,13 @@ | |||
# For scripted languages it might be unnecessary to change anything except the line below `run:` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a "not" is missing here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where? There's also a “not” hidden in the word “unnecessary”, but I can change the sentence using “not” directly, which would make it a little bit more clear.
What do you think about:
# For scripted languages it might **not** be necessary to change anything except the line below `run:`
Or is my understanding of the english language fooling me, and both sentences do actually something very different to what I want to say here? English isn't my primary language, only secondary and nearly exclusively used while reading.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neither is it my native language, which is obvious from my reading mistake :)
It's clear from the context, no need to change anything. I just thought there was a mistake.
Thanks for the amazing work. Let me know if I can help with anything. I also have a contributing colleague, he can help too. I'm a total make noob, but it looks very good. If I understand correctly, your goal is to have a single wordcount "binary" in each directory. This is of course a problem for Python and PHP. Python can be split into two directories, they are not really the same language anyway. As for PHP, we can have two directories. One of them stores the source and the other one has only a makefile which "builds" the same wordcount "binary" but runs it with the other PHP version. What do you think? |
Yeah, I've also thought about this. Something like a run rule like |
78513f1
to
f8158d4
Compare
OK, all languages do have a Makefile now.
Currently it is not possible to run a full competition through the And of course combinations of the variables are possible (times are dirty, I used the system during run!):
|
Sorry for beeing silent on this, but I had to slow down a bit. I will do another rebase tomorrow to keep up with your work. Then I'll start thinking about how to do the remaining parts. Since my brother in law visits over the weekend, I do think, that I won't actually commit something before monday. |
I'm not quite happy with this, since it the time used to compile the file into a java-class is counted in as time processing time in the contest. But I'll leave it as is for the following reasons: * It was this way before considering the `run_commands.txt` * I haven't found a way to do it better without introducing build tools So the “maintainers” of clojure need to chime in here and find a proper way of precompiling it. Or let everything as is, if it is the clojure way. Also I have removed downloading `clojure.jar` from `Dockerfile` and put it in clojures `Makefile`. This way, it is not necessary to rebuilt the image just to update it's version, also the clojure related JAR isn't lingering in the project root anymore ;)
Elixir was one of THE first languages that got a Makefile, I just did forgot to remove it from that script back then.
Both errors slipped through before, because I was in a hurry when doing them and I forgot to test them.
How is this coming along? Is there an easy way to add a "simple/idiomatic" and an "optimized" version? It seems more important than a parallel/single thread switch. |
This PR is created as a WIP to solve #52.
TODO:
Makefile.template
Makefiles
around