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
af0850c2
Commit
af0850c2
authored
Jun 15, 2018
by
Benoit Daloze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add build hook for TruffleRuby
parent
d155b41e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
bin/ruby-build
+15
-0
No files found.
bin/ruby-build
View file @
af0850c2
...
@@ -728,6 +728,21 @@ fix_jruby_shebangs() {
...
@@ -728,6 +728,21 @@ fix_jruby_shebangs() {
done
done
}
}
build_package_truffleruby
()
{
if
!
opt
--version
&>/dev/null
;
then
echo
""
echo
"TruffleRuby requires LLVM to be installed to run native extensions."
echo
"For more details and for setup instructions for your system, please see:"
echo
"https://github.com/oracle/truffleruby/blob/master/doc/user/installing-llvm.md"
exit
1
fi
build_package_copy
cd
"
${
PREFIX_PATH
}
"
./lib/truffle/post_install_hook.sh
}
remove_windows_files
()
{
remove_windows_files
()
{
cd
"
$PREFIX_PATH
"
cd
"
$PREFIX_PATH
"
rm
-f
bin/
*
.exe bin/
*
.dll bin/
*
.bat bin/jruby.sh
rm
-f
bin/
*
.exe bin/
*
.dll bin/
*
.bat bin/jruby.sh
...
...
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