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
nexedi
chromebrew
Commits
5e9c4d42
Commit
5e9c4d42
authored
Apr 19, 2021
by
satmandu
Committed by
GitHub
Apr 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rebuild ruby w/o dependence on gcc10 libssp (#5667)
parent
03429b14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
+15
-14
packages/ruby.rb
packages/ruby.rb
+15
-14
No files found.
packages/ruby.rb
View file @
5e9c4d42
...
@@ -3,23 +3,23 @@ require 'package'
...
@@ -3,23 +3,23 @@ require 'package'
class
Ruby
<
Package
class
Ruby
<
Package
description
'Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.'
description
'Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.'
homepage
'https://www.ruby-lang.org/en/'
homepage
'https://www.ruby-lang.org/en/'
version
'3.0.1'
version
'3.0.1
-1
'
license
'Ruby-BSD and BSD-2'
license
'Ruby-BSD and BSD-2'
compatibility
'all'
compatibility
'all'
source_url
'https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.1.tar.gz'
source_url
'https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.1.tar.gz'
source_sha256
'369825db2199f6aeef16b408df6a04ebaddb664fb9af0ec8c686b0ce7ab77727'
source_sha256
'369825db2199f6aeef16b408df6a04ebaddb664fb9af0ec8c686b0ce7ab77727'
binary_url
({
binary_url
({
aarch64:
'https://downloads.sourceforge.net/project/chromebrew/armv7l/ruby-3.0.1-chromeos-armv7l.tar.xz'
,
aarch64:
'https://downloads.sourceforge.net/project/chromebrew/armv7l/ruby-3.0.1-
1-
chromeos-armv7l.tar.xz'
,
armv7l:
'https://downloads.sourceforge.net/project/chromebrew/armv7l/ruby-3.0.1-chromeos-armv7l.tar.xz'
,
armv7l:
'https://downloads.sourceforge.net/project/chromebrew/armv7l/ruby-3.0.1-
1-
chromeos-armv7l.tar.xz'
,
i686:
'https://downloads.sourceforge.net/project/chromebrew/i686/ruby-3.0.1-chromeos-i686.tar.xz'
,
i686:
'https://downloads.sourceforge.net/project/chromebrew/i686/ruby-3.0.1-
1-
chromeos-i686.tar.xz'
,
x86_64:
'https://downloads.sourceforge.net/project/chromebrew/x86_64/ruby-3.0.1-chromeos-x86_64.tar.xz'
x86_64:
'https://downloads.sourceforge.net/project/chromebrew/x86_64/ruby-3.0.1-
1-
chromeos-x86_64.tar.xz'
})
})
binary_sha256
({
binary_sha256
({
aarch64:
'
210eb6582d1a06e7fbdbbfeb6658abed7633437de3e7faa4ebf16875e3687e28
'
,
aarch64:
'
03f443d63cca0fb640ec4d11f3b1306a9719e775f8c706c732f9231e41e66afd
'
,
armv7l:
'
210eb6582d1a06e7fbdbbfeb6658abed7633437de3e7faa4ebf16875e3687e28
'
,
armv7l:
'
03f443d63cca0fb640ec4d11f3b1306a9719e775f8c706c732f9231e41e66afd
'
,
i686:
'
a7b5531d7d331bdaa2b822eed85dd66ecf3a9f7f04ed9227c154f9657a4d53
cd'
,
i686:
'
dc388589df39c39e9c494e761ae2ca950a9b4f0573aa0d96508959787c050d
cd'
,
x86_64:
'
78bba3bf15210fd85ece6a0551fc0a1097c55a39f92b334a204ac97edfa2e1a5
'
x86_64:
'
4f86c98eaae1e708bf66f1c939a5cd07d5764b9b64ca827e6f7d5f61021bcb7e
'
})
})
depends_on
'ca_certificates'
depends_on
'ca_certificates'
...
@@ -29,8 +29,9 @@ class Ruby < Package
...
@@ -29,8 +29,9 @@ class Ruby < Package
def
self
.
build
def
self
.
build
# The download from ruby-lang.org doesn't need autoconf run,
# The download from ruby-lang.org doesn't need autoconf run,
# but the download from github does.
# but the download from github does.
# system 'autoreconf -fiv'
system
'[ -x configure ] || autoreconf -fiv'
system
"env CFLAGS='-ltinfo -flto=auto' CXXFLAGS='-flto=auto' \
system
"env RUBY_CONF_ENV='stack_protector=no' \
CFLAGS='-ltinfow -flto=auto' CXXFLAGS='-flto=auto' \
LDFLAGS='-flto=auto' \
LDFLAGS='-flto=auto' \
optflags='-flto=auto' \
optflags='-flto=auto' \
./configure
#{
CREW_OPTIONS
}
\
./configure
#{
CREW_OPTIONS
}
\
...
@@ -39,9 +40,9 @@ class Ruby < Package
...
@@ -39,9 +40,9 @@ class Ruby < Package
system
'make'
system
'make'
end
end
def
self
.
check
#
def self.check
system
"make check || true"
# system 'make check || true'
end
#
end
def
self
.
install
def
self
.
install
system
'make'
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
'install'
system
'make'
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
'install'
...
...
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