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
ca0e1474
Commit
ca0e1474
authored
Jan 01, 2016
by
Chris Seaton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove builds of JRuby that bundle Graal.
parent
8f1a3904
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 @
ca0e1474
...
...
@@ -639,29 +639,10 @@ build_package_jruby() {
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
()
{
# If this version of JRuby has been modified for Graal, don't overwrite the
# launcher scripts
if
!
grep
-q
graalvm
"
${
PREFIX_PATH
}
/bin/jruby"
;
then
cd
"
${
PREFIX_PATH
}
/bin"
{
./ruby gem install jruby-launcher
}
>
&4 2>&1
fi
cd
"
${
PREFIX_PATH
}
/bin"
{
./ruby gem install jruby-launcher
}
>
&4 2>&1
}
fix_jruby_shebangs
()
{
...
...
share/ruby-build/jruby-9.0.0.0+graal-dev
deleted
100644 → 0
View file @
8f1a3904
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 @
8f1a3904
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 @
8f1a3904
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 @
ca0e1474
...
...
@@ -533,22 +533,6 @@ nice gem things
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
assert [ ! -e "$INSTALL_ROOT/build.log" ]
}
@test "JRuby Java 7 missing" {
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