hasql-queue icon indicating copy to clipboard operation
hasql-queue copied to clipboard

Include perf building from source as part of the Vagrant provisioning

Open jfischoff opened this issue 5 years ago • 4 comments

jfischoff avatar Jun 14 '20 22:06 jfischoff

Looks like the default install perf install for config.vm.box = "bento/ubuntu-20.04" has the libunwind support.

Installed with

sudo apt update 
sudo apt install linux-tools-common
sudo apt install linux-tools-5.4.0-29-generic

jfischoff avatar Jun 15 '20 07:06 jfischoff

I have no idea why this is necessary but I need to modify the ghc settings

vim ~/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.3/lib/ghc-8.8.3/settings

to

 ("C compiler link flags", ""),

jfischoff avatar Jun 16 '20 07:06 jfischoff

Need to add


ghc-options:
  "$everything": -g2 -O2

``

jfischoff avatar Jun 16 '20 07:06 jfischoff

cd 
git clone https://github.com/brendangregg/FlameGraph.git

jfischoff avatar Jun 17 '20 05:06 jfischoff