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
97d1dba7
Commit
97d1dba7
authored
Feb 24, 2021
by
satmandu
Committed by
GitHub
Feb 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build libdeflate with flto (#5275)
parent
c6f19989
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
14 deletions
+23
-14
packages/libdeflate.rb
packages/libdeflate.rb
+23
-14
No files found.
packages/libdeflate.rb
View file @
97d1dba7
...
...
@@ -3,29 +3,38 @@ require 'package'
class
Libdeflate
<
Package
description
'Heavily optimized library for DEFLATE compression and decompression'
homepage
'https://github.com/ebiggers/libdeflate/'
version
'1.7'
version
'1.7
-1
'
compatibility
'all'
source_url
'https://github.com/ebiggers/libdeflate/archive/v1.7.tar.gz'
source_sha256
'a5e6a0a9ab69f40f0f59332106532ca76918977a974e7004977a9498e3f11350'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/libdeflate-1.7-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/libdeflate-1.7-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/libdeflate-1.7-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/libdeflate-1.7-
chromeos-x86_64.tar.xz'
,
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/libdeflate-1.7-
1-
chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/libdeflate-1.7-
1-
chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/libdeflate-1.7-
1-
chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/libdeflate-1.7-
1-chromeos-x86_64.tar.xz'
})
binary_sha256
({
aarch64:
'
87ef4380e735e1e8654e7229f0c5422972cb20e54bb59fcac27131f0a6400973
'
,
armv7l:
'
87ef4380e735e1e8654e7229f0c5422972cb20e54bb59fcac27131f0a6400973
'
,
i686:
'
ce7408d49285c857369a7475579f3ddc6df4b0b4adf97f7aca75aff0934c6477
'
,
x86_64:
'
d912fedc4f0fe8160aee0346be159b58ffd62c1ba6ae0ee6bff3611b36cfd1b0'
,
binary_sha256
({
aarch64:
'
1195e3098e35caf102d85f6e094c0e4e13d0f4065bf43447168b5c3f53e59130
'
,
armv7l:
'
1195e3098e35caf102d85f6e094c0e4e13d0f4065bf43447168b5c3f53e59130
'
,
i686:
'
bbbd9b82d8e241e6ac6db6d50ef217e4fcb8d7d029a6fe2bab514401d87f809c
'
,
x86_64:
'
cf08842579addb9c9abe37b6bff1ff8071401c2f37c5e8278a323f40878c71e0'
})
def
self
.
build
system
'make'
,
"PREFIX=
#{
CREW_PREFIX
}
"
,
"LIBDIR=
#{
CREW_LIB_PREFIX
}
"
system
"env CFLAGS='-flto=auto' CXXFLAGS='-flto=auto'
LDFLAGS='-flto=auto' \
PREFIX=
#{
CREW_PREFIX
}
\
LIBDIR=
#{
CREW_LIB_PREFIX
}
\
make"
end
def
self
.
install
system
'make'
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"PREFIX=
#{
CREW_PREFIX
}
"
,
"LIBDIR=
#{
CREW_LIB_PREFIX
}
"
,
'install'
system
"env CFLAGS='-flto=auto' CXXFLAGS='-flto=auto'
LDFLAGS='-flto=auto' \
DESTDIR=
#{
CREW_DEST_DIR
}
\
PREFIX=
#{
CREW_PREFIX
}
\
LIBDIR=
#{
CREW_LIB_PREFIX
}
\
make install"
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