Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Guillaume Hervier
chromebrew
Commits
85982669
Commit
85982669
authored
Aug 19, 2018
by
Chris Thurber
Committed by
Ed Reel
Aug 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added julia.rb package (#2568)
* Added julia.rb package * Fixed 64 lib issue.
parent
8e4d5724
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
packages/julia.rb
packages/julia.rb
+31
-0
No files found.
packages/julia.rb
0 → 100644
View file @
85982669
require
'package'
class
Julia
<
Package
description
'Julia is a flexible dynamic language, appropriate for scientific and numerical computing'
homepage
'https://julialang.org/'
version
'1.0.0'
case
ARCH
when
'x86_64'
source_url
'https://julialang-s3.julialang.org/bin/linux/x64/1.0/julia-1.0.0-linux-x86_64.tar.gz'
source_sha256
'bea4570d7358016d8ed29d2c15787dbefaea3e746c570763e7ad6040f17831f3'
when
'i686'
source_url
'https://julialang-s3.julialang.org/bin/linux/x86/1.0/julia-1.0.0-linux-i686.tar.gz'
source_sha256
'c8c607a7682bfe08b5511aac616c3b393038e52edf4dbaac5e69727c4f1eaa8b'
when
'aarch64'
,
'armv7l'
source_url
'https://julialang-s3.julialang.org/bin/linux/armv7l/1.0/julia-1.0.0-linux-armv7l.tar.gz'
source_sha256
'61e855e93c3bfe5e4f486a54a4c45194f4b020922e56af5fc104ff3fd3d8e41a'
else
puts
"
#{
ARCH
}
architecture not supported."
.
lightred
end
binary_url
({
})
binary_sha256
({
})
def
self
.
install
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
"
system
"cp -r .
#{
CREW_DEST_PREFIX
}
"
system
"mv
#{
CREW_DEST_PREFIX
}
/lib
#{
CREW_DEST_PREFIX
}
/lib64"
if
ARCH
==
'x86_64'
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment