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
Łukasz Nowak
chromebrew
Commits
9d4fb25a
Commit
9d4fb25a
authored
Apr 03, 2020
by
Ed Reel
Committed by
GitHub
Apr 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add netperf package (#3988)
Add pre-built binaries
parent
cc926a1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
packages/netperf.rb
packages/netperf.rb
+37
-0
No files found.
packages/netperf.rb
0 → 100644
View file @
9d4fb25a
require
'package'
class
Netperf
<
Package
description
'Netperf is a benchmark that can be used to measure the performance of many different types of networking. It provides tests for both unidirectional throughput, and end-to-end latency.'
homepage
'https://hewlettpackard.github.io/netperf/'
version
'2.7.0'
source_url
'https://github.com/HewlettPackard/netperf/archive/netperf-2.7.0.tar.gz'
source_sha256
'4569bafa4cca3d548eb96a486755af40bd9ceb6ab7c6abd81cc6aa4875007c4e'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/netperf-2.7.0-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/netperf-2.7.0-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/netperf-2.7.0-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/netperf-2.7.0-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'2be8d5e4d5aceb3216010f0e79b19839d92f3fd71f0dfe22d9c6335ff7a4baed'
,
armv7l:
'2be8d5e4d5aceb3216010f0e79b19839d92f3fd71f0dfe22d9c6335ff7a4baed'
,
i686:
'0dff93ad6efdf1c1f71062d499d26e718ba3aa94b72c1659fe6b286898b31c7e'
,
x86_64:
'e9dc4df77a37125465ac91e858c12d0bddf365547711a8da295bd6daae056e30'
,
})
def
self
.
build
system
'./configure'
,
"--prefix=
#{
CREW_PREFIX
}
"
,
"--libdir=
#{
CREW_LIB_PREFIX
}
"
system
'make'
end
def
self
.
check
system
'make'
,
'check'
end
def
self
.
install
system
'make'
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
'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