Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Create a minimal example to create a bazel project that uses jemalloc

run the application

$ bazel run //:main

make sure that the application links to jemalloc

$ ldd bazel-bin/main

Support different compilers to jemalloc and the final binary

Follow documentation at https://docs.bazel.build/versions/main/tutorial/cc-toolchain-config.html to implement this support

build and run the application using clang

$ bazel run //:main --config=clang_config

The default toolchain used is gcc

Observe the differences in the toolchain used for the 2 builds with the -s command line option to bazel

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages