[opensuse-factory] Request to add a versioned LLVM to openSUSE

Hello, I am maintaining the openSUSE package of Julia language [1] in my home repository that is eventually submitted to science repository. Julia is a dynamic programming language that uses an LLVM-based JIT compiler to improve its performance. The problem is that Julia developers does not want anymore to support every LLVM version. As it can be seen, it is not possible currently to build julia 0.3.10 (stable release) for either Factory or Tumbleweed due to the LLVM version (3.6.1). There was a very long talk about the case in Fedora [3] and it seems they are going to add llvm33 in the official repositories (they already have llvm34 due to a similar problem). Thus, is it possible to do the same with openSUSE? Another solution is to ship LLVM 3.3 (the officially supported version) together the Julia package. But I do not like this solution and I think that the llvm33 package might be useful for other purposes. [1] http://www.julialang.org [2] https://github.com/JuliaLang/julia/issues/12028 [3] https://bugzilla.redhat.com/show_bug.cgi?id=1109390 Best regards, -- Ronan Arraes Jardim Chagas -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

On 07/14/2015, 03:41 PM, Ronan Arraes Jardim Chagas wrote:
There was a very long talk about the case in Fedora [3] and it seems they are going to add llvm33 in the official repositories (they already have llvm34 due to a similar problem). Thus, is it possible to do the same with openSUSE?
Despite I fully support this, I am afraid you have to do the work... regards, -- js suse labs -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

Hi guys, Finally I could build a versioned llvm package for openSUSE (3.3 version). As I said, my idea is to use this version to build julia, since it is the only officially supported version for julia 0.3. Now, I need help to review this package, since I am new in creating packages for openSUSE. It is hosted in my home repo: https://build.opensuse.org/package/show/home:Ronis_BR/llvm33 It can be installed concurrently with llvm. I changed the names of executables so it did not conflict. Thus, clang is clang33, llc is llc33, and so on. The resource directory is also moved to /usr/%{_lib}/llvm33. My biggest concern right now is two tests that always fail in all builds. It is specified in the file ./tools/clang/test/CodeGenCXX/vtable-linkage.cpp. The tests names are CHECK-10-OPT and CHECK-I-OPT. Right now, I cannot say if these fails are related to the change in libraries default directories or if it is a real bug with my package that will lead to erroneous compilation in specific cases. Since I am not a LLVM expert, I can use some help here :) Btw, I have done many tests with some C/C++ codes I have here without a single problem so far. I also need to port this file to others architectures, because, right now, it only supports i586 and x86_64 (the only ones I can test). Regards, -- Ronan Arraes Jardim Chagas -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

On Saturday 2015-07-25 06:33, Ronan Arraes Jardim Chagas wrote:
Finally I could build a versioned llvm package for openSUSE (3.3 version). As I said, my idea is to use this version to build julia, since it is the only officially supported version for julia 0.3.
Now, I need help to review this package, since I am new in creating packages for openSUSE.
It is hosted in my home repo:
https://build.opensuse.org/package/show/home:Ronis_BR/llvm33
It can be installed concurrently with llvm. I changed the names of executables so it did not conflict. Thus, clang is clang33, llc is llc33, and so on.
That probably should be llvm-3.3, the numbering scheme we use with gcc. (Package name then llvm-3_3, the scheme used with many packages[2], though not in case of gcc ;-) [2] osc ls openSUSE:Factory | pcregrep '\d+_\d+' -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

That probably should be llvm-3.3, the numbering scheme we use with gcc. (Package name then llvm-3_3, the scheme used with many packages[2], though not in case of gcc ;-)
[2] osc ls openSUSE:Factory | pcregrep '\d+_\d+'
Thanks! I will change that. Do you think it will be better to also change the executable names, e.g.: clang33 to clang-3_3 or something else? Regards, Ronan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

On Saturday 2015-07-25 20:41, Ronan Arraes Jardim Chagas wrote:
That probably should be llvm-3.3, the numbering scheme we use with gcc. (Package name then llvm-3_3, the scheme used with many packages[2], though not in case of gcc ;-)
[2] osc ls openSUSE:Factory | pcregrep '\d+_\d+'
Thanks! I will change that. Do you think it will be better to also change the executable names, e.g.:
clang33 to clang-3_3 or something else?
That's what I said above: "llvm-3.3" ("clang-3.3"), following the gcc scheme. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

That's what I said above: "llvm-3.3" ("clang-3.3"), following the gcc scheme.
Oh! Now I see, sorry :) I'm changing the executable names to clang33 -> clang-3_3 clang33++ -> clang++-3_3 llvm33 -> llvm-3_3 llvm33* -> llvm*-3_3 llc33 -> llc-3_3 lli33 -> lli-3_3 scan33-build -> scan-build-3_3 scan33-view -> scan-view-3_3 I think I should finish this change in one or two hours :) Thanks for the help! Regards, Ronan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

В Sat, 25 Jul 2015 16:28:11 -0300 Ronan Arraes Jardim Chagas <ronisbr@gmail.com> пишет:
That's what I said above: "llvm-3.3" ("clang-3.3"), following the gcc scheme.
Oh! Now I see, sorry :)
I'm changing the executable names to
clang33 -> clang-3_3
?? That's not what Jan said ...
clang33++ -> clang++-3_3 llvm33 -> llvm-3_3 llvm33* -> llvm*-3_3 llc33 -> llc-3_3 lli33 -> lli-3_3 scan33-build -> scan-build-3_3 scan33-view -> scan-view-3_3
I think I should finish this change in one or two hours :)
Thanks for the help!
Regards, Ronan
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

Em dom 26 jul 2015, às 00:10:35, Andrei Borzenkov escreveu:
?? That's not what Jan said ...
Yes, sorry about that. I was a typo in my e-mail, I used the right names in the package :) It should being built right now (llvm-3_3). Just an update. The old version (llvm33) was used to build julia and worked without any problems. Regards, Ronan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

I finished the tests with llvm-3_3 and so far everything is fine. I have configured julia to be built against this package and it is working perfectly. You can see these packages at: https://build.opensuse.org/project/show/home:Ronis_BR I placed a SR to add llvm-3_3 to devel:tools:compiler. If it is approved, then I will submit the new julia version to science repo. Regards, -- Ronan Arraes Jardim Chagas -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Andrei Borzenkov
-
Jan Engelhardt
-
Jiri Slaby
-
Ronan Arraes Jardim Chagas