github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/ccl/storageccl/engineccl/rocksdb_jemalloc.go (about)

     1  // Copyright 2016 The Cockroach Authors.
     2  //
     3  // Licensed as a CockroachDB Enterprise file under the Cockroach Community
     4  // License (the "License"); you may not use this file except in compliance with
     5  // the License. You may obtain a copy of the License at
     6  //
     7  //     https://github.com/cockroachdb/cockroach/blob/master/licenses/CCL.txt
     8  
     9  // +build !stdmalloc
    10  
    11  package engineccl
    12  
    13  // #cgo LDFLAGS: -ljemalloc
    14  // #cgo dragonfly freebsd LDFLAGS: -lm
    15  // #cgo linux LDFLAGS: -lrt -lm -lpthread
    16  import "C"