Comments (16)
Not at this time
from tcmalloc.
Would you accept PRs for someone adding that? or just "hard no"? :)
from tcmalloc.
Some example of integration of tcmalloc to a project with CMake build system can be found here: ClickHouse/ClickHouse#11590
from tcmalloc.
+1 to this. Please publish build instructions without Bazel, using cmake or just GNU make.
from tcmalloc.
Autotools, please.
from tcmalloc.
Hi, I have started to play here:
https://github.com/extcpp/tcmalloc/tree/cmake
Anybody is welcome to use the files make suggestions and create PRs. My hope is that the branch will eventually be merged into this repository. My aim is not to replace Bazel
but to make tcmalloc
usable for projects that use CMake
and want to build tcmalloc
from source. Therefore I personally neglect (tests - in the beginning) installation and especially packaging.
from tcmalloc.
We dropped it and went with rpmalloc instead.
from tcmalloc.
cryptopp
has a nice solution. I could create something similar to https://github.com/noloader/cryptopp-cmake. It would be nice if there was somebody to test and and give feedback.
UPDATE:
I have started here: https://github.com/ObiWahn/tcmalloc-cmake
from tcmalloc.
It's not a hard no to CMake. We've discussed it, and would like to support it in the future. However, time is a finite resource, and nobody is scheduled to work on it. I've told @ckennelly that I'll look into it in the coming weeks, but I have a lot on my plate already.
We likely want to model the behavior of Abseil in it's handling of CMake and Bazel, so PR's that implement something different would not be accepted at this time.
Supporting autotools is a non-goal of the project.
from tcmalloc.
When you say:
We likely want to model the behavior of Abseil in it's handling of CMake and Bazel, so PR's that implement something different would not be accepted at this time.
What are you referring to specifically then?
I will probably write some CMake for tcmalloc soon in any case - so if I can model it "right" from the beginning I am happy to do so.
from tcmalloc.
Compile failed. All day. I want to use Cmake.
from tcmalloc.
When you say:
We likely want to model the behavior of Abseil in it's handling of CMake and Bazel, so PR's that implement something different would not be accepted at this time.
What are you referring to specifically then?
I will probably write some CMake for tcmalloc soon in any case - so if I can model it "right" from the beginning I am happy to do so.
Hello @tru
How is the status of making cmake build?
from tcmalloc.
a cmake PR has been made that looks promising. would be great to have a tcmalloc official release once that gets in and the core code is at a known stable point. gperftools follows this project too slowly
from tcmalloc.
a cmake PR has been made that looks promising.
I assume this refers to #104, just to note it to make it easier to find. Cmake support would be in line with https://opensource.google/documentation/policies/cplusplus-support.
from tcmalloc.
Hi @tru
Are there any updates regarding the status of Cmake Build?
from tcmalloc.
Hi @tru Are there any updates regarding the status of Cmake Build?
from tcmalloc.
Related Issues (20)
- Is there any release branch or tag of current project? HOT 2
- issue for "improve malloc fast path codegen" HOT 1
- Possibly crash with kernel disabling CONFIG_PROC_PID_CPUSET HOT 2
- tcmalloc is trying to keep everything allocated for longer HOT 3
- Disabling tcmalloc cache HOT 2
- OSS-Fuzz issue 65919 HOT 1
- OSS-Fuzz issue 66172 HOT 1
- MADV_COLLAPSE
- Failed to build tcmalloc, Error info: junk at end of line HOT 1
- Quick start guide broken
- How to access tcmalloc MallocExtensions? HOT 1
- Help with heap profiler. HOT 1
- Compiling Issues on aarch64 HOT 2
- OSS-Fuzz issue 67559
- GuardedPageAllocator appears in stack trace when ActivateGuardedSampling() has not been called HOT 10
- OSS-Fuzz issue 68039 HOT 1
- OSS-Fuzz issue 68082
- Per cpu cache of bigger sizes HOT 7
- Compiler error HAVE_SBRK HOT 1
- Compilation Error with tcmalloc: ‘static constexpr bool absl::lts_20230125::base_internal::SpinLock::IsCooperative’ is private within this context HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tcmalloc.