Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ruby-build
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ruby-build
Commits
80796ac1
Commit
80796ac1
authored
Jan 30, 2016
by
Mislav Marohnić
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #864
parents
27dabd3e
ca0e1474
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
41 deletions
+3
-41
bin/ruby-build
+3
-22
share/ruby-build/jruby-9.0.0.0+graal-dev
+0
-1
share/ruby-build/jruby-9.0.2.0+graal-dev
+0
-1
share/ruby-build/jruby-master+graal-dev
+0
-1
test/build.bats
+0
-16
No files found.
bin/ruby-build
View file @
80796ac1
...
@@ -659,29 +659,10 @@ build_package_jruby() {
...
@@ -659,29 +659,10 @@ build_package_jruby() {
fix_jruby_shebangs
fix_jruby_shebangs
}
}
graal_architecture
()
{
if
[
"
$(
uname
-m
)
"
!=
"x86_64"
]
;
then
echo
"no nightly builds available"
>
&2
exit
1
fi
case
"
$(
uname
-s
)
"
in
"Darwin"
)
echo
"macosx-x86_64"
;;
"Linux"
)
echo
"linux-x86_64"
;;
*
)
echo
"no nightly builds available"
>
&2
exit
1
;;
esac
}
install_jruby_launcher
()
{
install_jruby_launcher
()
{
# If this version of JRuby has been modified for Graal, don't overwrite the
cd
"
${
PREFIX_PATH
}
/bin"
# launcher scripts
{
./ruby gem install jruby-launcher
if
!
grep
-q
graalvm
"
${
PREFIX_PATH
}
/bin/jruby"
;
then
}
>
&4 2>&1
cd
"
${
PREFIX_PATH
}
/bin"
{
./ruby gem install jruby-launcher
}
>
&4 2>&1
fi
}
}
fix_jruby_shebangs
()
{
fix_jruby_shebangs
()
{
...
...
share/ruby-build/jruby-9.0.0.0+graal-dev
deleted
100644 → 0
View file @
27dabd3e
install_package "jruby-9.0.0.0-SNAPSHOT" "http://lafo.ssw.uni-linz.ac.at/graalvm/jruby-dist-9.0.0.0-SNAPSHOT+graal-$(graal_architecture)-bin.tar.gz" jruby
share/ruby-build/jruby-9.0.2.0+graal-dev
deleted
100644 → 0
View file @
27dabd3e
install_package "jruby-9.0.2.0-SNAPSHOT" "http://lafo.ssw.uni-linz.ac.at/graalvm/jruby-dist-9.0.2.0-SNAPSHOT+graal-$(graal_architecture)-bin.tar.gz" jruby
share/ruby-build/jruby-master+graal-dev
deleted
100644 → 0
View file @
27dabd3e
install_package "jruby-master" "http://lafo.ssw.uni-linz.ac.at/graalvm/jruby-dist-master+graal-$(graal_architecture)-bin.tar.gz" jruby
test/build.bats
View file @
80796ac1
...
@@ -533,22 +533,6 @@ nice gem things
...
@@ -533,22 +533,6 @@ nice gem things
OUT
OUT
}
}
@test "JRuby+Graal does not install launchers" {
executable "${RUBY_BUILD_CACHE_PATH}/jruby-9000.dev/bin/jruby" <<OUT
#!${BASH}
# graalvm
echo jruby "\$@" >> ../build.log
OUT
cached_tarball "jruby-9000.dev"
run_inline_definition <<DEF
install_package "jruby-9000.dev" "http://lafo.ssw.uni-linz.ac.at/jruby-9000+graal-macosx-x86_64.tar.gz" jruby
DEF
assert_success
refute [ -e "$INSTALL_ROOT/build.log" ]
}
@test "JRuby Java 7 missing" {
@test "JRuby Java 7 missing" {
cached_tarball "jruby-9000.dev" bin/jruby
cached_tarball "jruby-9000.dev" bin/jruby
...
...
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