Skip to content

kris-anderson/homebrew-netperf

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Netperf with the flag --enable-demo set for Homebrew users on macOS

Why this exists

When you install the default homebrew version of netperf, the flag --enable-demo is not set by default.

If you run a tool like Flent that requires this flag to be set, it will end up throwing an error if you use the default Homebrew package.

The maintainer of Flent create a PR for Homebrew to address this for macOS users, but the Homebrew dev team felt this should be handled upstream. Hewlett Packard, the maintainer of Netperf, has not yet made a release that contains the needed fix. You can see the Github issue here.

What this does

This is a slightly modifed formulae that does two things differently than the original.

  1. Removes inline from two different places in the src/netlib.c file.

  2. Adds the flag --enable-demo during compiling

How to install this formulae

Method 1

brew install kris-anderson/netperf/netperf-enable-demo

Method 2

brew tap kris-anderson/netperf

then

brew install netperf-enable-demo

Method 3 (will not receive updates)

brew install https://raw.githubusercontent.com/kris-anderson/homebrew-netperf/master/Formula/netperf-enable-demo.rb

About

Netperf with the flag --enable-demo set for Homebrew users on macOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages