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
2d8bb5bd
Commit
2d8bb5bd
authored
Oct 22, 2019
by
JL2210
Committed by
Ed Reel
Oct 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add perf package (#3556)
parent
85e3909e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
packages/perf.rb
packages/perf.rb
+29
-0
No files found.
packages/perf.rb
0 → 100644
View file @
2d8bb5bd
require
'package'
class
Perf
<
Package
description
'Linux profiling with performance counters'
homepage
'https://perf.wiki.kernel.org/index.php/Main_Page'
version
'4.14'
source_url
'file:///dev/null'
source_sha256
'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
# Reuse linux sources if they're already installed
depends_on
'linux_sources'
=>
:build
def
self
.
build
Dir
.
chdir
(
"
#{
CREW_PREFIX
}
/src/linux/tools/perf"
)
do
system
"make WERROR=0 prefix=
#{
CREW_PREFIX
}
"
end
end
def
self
.
install
Dir
.
chdir
(
"
#{
CREW_PREFIX
}
/src/linux/tools/perf"
)
do
system
'make'
,
'WERROR=0'
,
'missing_tools=xmlto'
,
# Docs are broken, disable
"prefix=
#{
CREW_PREFIX
}
"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
'install'
end
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