Package Details: julia-git 0.7.0.DEV.r41074.g018fb61ff6-1

Git Clone URL: https://aur.archlinux.org/julia-git.git (read-only)
Package Base: julia-git
Description: High-level, high-performance, dynamic programming language
Upstream URL: http://julialang.org
Licenses: MIT
Conflicts: julia
Provides: julia
Submitter: mihi
Maintainer: TrialnError
Last Packager: TrialnError
Votes: 51
Popularity: 0.096957
First Submitted: 2012-02-22 08:57
Last Updated: 2018-02-23 19:34

Dependencies (38)

Required by (19)

Sources (2)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

TrialnError commented on 2018-08-17 00:00

Did not forget about updating the PKGBUILD. But there are currently issues with some components, which causes failure in the build process. Need to identify those. And not really able to use system llvm isn't helping in the process

TrialnError commented on 2018-08-01 19:47

Thanks for the work. Will take a look at it. Although I can already tell, I won't include the removal of Make.user

alyst commented on 2018-07-25 19:52

I've updated the PKGBUILD to 0.7-beta2. It's in https://github.com/alyst/aur-julia-git, julia07 branch. @TrialnError Feel free to pick up the changes.

TrialnError commented on 2018-02-23 19:29

I followed the bug for the julia package from the repo where they discussed the llvm situation. I assumed, reading those comments, that the situation isn't that "dire" if building directly from master. But well. Apparently not. Will change the build options

robsmith11 commented on 2018-02-23 13:22

I got it to build by changing it to use the bundled LLVM and libm.

robsmith11 commented on 2018-02-22 12:19

Has anyone built this recently?

First I ran into https://github.com/JuliaLang/julia/issues/23615 which was easily solved.

But now I'm getting more errors:

    LINK usr/bin/julia
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::CloneModule(llvm::Module const*, llvm::ValueMap<llvm::Value const*, llv
m::WeakVH, llvm::ValueMapConfig<llvm::Value const*, llvm::sys::SmartMutex<false> > >&)'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::APInt::EqualSlowCase(unsigned long) const'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::AttributeSet::addAttribute(llvm::LLVMContext&, unsigned int, llvm::Stri
ngRef, llvm::StringRef) const'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::Value::stripInBoundsOffsets()'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::AttributeSet::getFnAttributes() const'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `vtable for llvm::GetElementPtrInst'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::User::anchor()'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::Function::getReturnType() const'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::APInt::shl(llvm::APInt const&) const'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::APFloat::IEEEdouble'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::APInt::operator+(llvm::APInt const&) const'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::TargetRecip::TargetRecip()'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::AttributeSet::getNumSlots() const'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `vtable for llvm::ICmpInst'
...

smldis commented on 2017-03-01 22:57

Ok I missed that, I solved the problem with this patch to Cxx.jl (Maybe it is not necessary anymore if it's working for you):
```
diff --git a/deps/BuildBootstrap.Makefile b/deps/BuildBootstrap.Makefile
index 2d1731c..27e8661 100644
--- a/deps/BuildBootstrap.Makefile
+++ b/deps/BuildBootstrap.Makefile
@@ -158,7 +158,7 @@ LLVM_LIB_NAME := LLVM-$(CXX_LLVM_VER)
endif
LDFLAGS += -l$(LLVM_LIB_NAME)

-LIB_DEPENDENCY += $(LIBDIR)/lib$(LLVM_LIB_NAME).$(SHLIB_EXT)
+LIB_DEPENDENCY += /usr/lib/libLLVM-3.9.so #$(LIBDIR)/lib$(LLVM_LIB_NAME).$(SHLIB_EXT)

usr/lib:
@mkdir -p $(CURDIR)/usr/lib/
```

TrialnError commented on 2017-02-22 23:41

Cannot replicate the issue smldis. Maybe a temporary problem in the build process.
And as a hint for future contributions. Localized output can be blocker. To make life easier either translate non-english stuff to english, or use LANG=C or similar in front of the command to set the language for the actual process/programm :)

smldis commented on 2017-02-22 21:09

Any hints on what's wrong with the Cxx.jl build?
The output is:
`
Pkg.build("Cxx")
INFO: Building Cxx
writing path.jl file
Tuning for julia installation at /usr/bin with sources possibly at /usr/bin/../..
INFO: Building julia binary build
mkdir -p src/clang-3.9.1
mkdir -p src/llvm-3.9.1
make: *** Nessuna regola per generare l'obiettivo "/usr/bin/../lib/julia/libLLVM.so", necessario per "build/bootstrap.o". Arresto.
make: *** Attesa per i processi non terminati....
tar -C src/clang-3.9.1 --strip-components=1 -xf src/cfe-3.9.1.src.tar.xz
tar -C src/llvm-3.9.1 --strip-components=1 -xf src/llvm-3.9.1.src.tar.xz
=======================================================================[ ERROR: Cxx ]=======================================================================

LoadError: failed process: Process(`make -j2 -f BuildBootstrap.Makefile BASE_JULIA_BIN=/usr/bin BASE_JULIA_SRC=/usr/bin/../..`, ProcessExited(2)) [2]
while loading /home/smldis/.julia/v0.6/Cxx/deps/build.jl, in expression starting on line 54

============================================================================================================================================================

======================================================================[ BUILD ERRORS ]======================================================================

WARNING: Cxx had build errors.

- packages with build errors remain installed in /home/smldis/.julia/v0.6
- build the package(s) and all dependencies with `Pkg.build("Cxx")`
- build a single package by running its `deps/build.jl` script

============================================================================================================================================================
`

TrialnError commented on 2017-01-12 20:54

Thanks for the note ajdunlap.
And I was still waiting for that package to get orphaned. I filed my request, it got deleted (whatever it caused, because there is no report), the request was rejected, but I didn't get notified. Splendid