Skip to content

OskarCarl/fyrlang-native-libs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fyrlang Native Libraries

This repository contains the scripts used to precompile native libraries used by the Fyrlang compiler.

Building

For each library there is a make target. To build a library, simply run make <library>.

Running make without arguments will build all supported libraries

Libraries

These libraries are currently supported:

  • jemalloc: The jemalloc memory allocator, originally written for FreeBSD
  • tcmalloc: Memory allocator included in gperftools by Google
  • mimalloc: mimalloc by Daan Leijen and Microsoft
  • rpmalloc: rpmalloc by Mattias Jansson

Requirements

The scripts in this repository only need make and python3. Your system needs to also provide the required utilities for the libraries to succeed.

Please be aware that this list might change and is not guaranteed to be exhaustive:

  • jemalloc: gcc
  • tcmalloc: g++
  • mimalloc: gcc, cmake
  • rpmalloc: clang, ninja

Updating

As long as the build process for a library does not change, updating it is as simple as editing the VERSION variable in its corresponding script.

License

The script files in this repository are provided with the included license. The compiled libraries are subject to the licenses in their respective folders.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published