Skip to content

Commit

Permalink
Merge pull request #16872 from tamird/update-jemalloc
Browse files Browse the repository at this point in the history
c-deps: update jemalloc to 5.0.1
  • Loading branch information
tamird authored Jul 6, 2017
2 parents 4b98593 + 0ae311c commit cc676e7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion c-deps/jemalloc
Submodule jemalloc updated 258 files
2 changes: 1 addition & 1 deletion pkg/ccl/storageccl/engineccl/rocksdb_jemalloc.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ package engineccl

// #cgo LDFLAGS: -ljemalloc
// #cgo dragonfly freebsd LDFLAGS: -lm
// #cgo linux LDFLAGS: -lrt -lm -lpthread
// #cgo linux LDFLAGS: -lrt -lm -lpthread -ldl
import "C"
2 changes: 1 addition & 1 deletion pkg/cli/start_jemalloc.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package cli
// #cgo CPPFLAGS: -DJEMALLOC_NO_DEMANGLE
// #cgo LDFLAGS: -ljemalloc
// #cgo dragonfly freebsd LDFLAGS: -lm
// #cgo linux LDFLAGS: -lrt -lm -lpthread
// #cgo linux LDFLAGS: -lrt -lm -lpthread -ldl
//
// #include <jemalloc/jemalloc.h>
// #include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/status/runtime_jemalloc.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ package status
// // Manually force the presence of these symbols on macOS.
// #cgo darwin LDFLAGS: -u_je_zone_register
// #cgo dragonfly freebsd LDFLAGS: -lm
// #cgo linux LDFLAGS: -lrt -lm -lpthread
// #cgo linux LDFLAGS: -lrt -lm -lpthread -ldl
//
// #include <jemalloc/jemalloc.h>
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/storage/engine/rocksdb_jemalloc.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ package engine

// #cgo LDFLAGS: -ljemalloc
// #cgo dragonfly freebsd LDFLAGS: -lm
// #cgo linux LDFLAGS: -lrt -lm -lpthread
// #cgo linux LDFLAGS: -lrt -lm -lpthread -ldl
import "C"

0 comments on commit cc676e7

Please sign in to comment.