Skip to content
This repository was archived by the owner on Jul 14, 2026. It is now read-only.

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARCHIVED now that the ordo-one/benchmark package no longer needs jemalloc.

package-jemalloc

A Swift module map for jemalloc

Usage

  1. Install jemalloc on your machine, e.g.:

macOS

brew install jemalloc

Ubuntu

sudo apt-get install -y libjemalloc-dev
  1. Add a dependency to your Package.swift
    dependencies: [
        .package(url: "https://github.com/ordo-one/package-jemalloc", .upToNextMajor(from: "1.0.0"))
    ],
  1. And finally add the dependency to your target
        .executableTarget(
            name: "xxx",
            dependencies: [
                .product(name: "jemalloc", package: "package-jemalloc"),
            ]
        ),

About

A Swift module map for the jemalloc memory allocator

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages