facebook / CacheLib

Pluggable in-process caching engine to build and scale high performance services
https://www.cachelib.org
Apache License 2.0
1.18k stars 254 forks source link

Added Debug Flag To Examples Build.sh files to avoid conflict #314

Open aaditya2200 opened 3 months ago

therealgymmy commented 2 months ago

Can you clarify what problem this resolves?

aaditya2200 commented 2 months ago

Without this, the examples do not build. I get an error regarding conflicting declarations. This is similar to this issue. https://github.com/facebook/CacheLib/issues/309

therealgymmy commented 1 month ago

I cannot import this as it has conflicts with submodules. I'll send out a change from our internal repo that only contains the build.sh change

therealgymmy commented 1 month ago

@aaditya2200: can you verify if the example now builds successfully?

Change landed at https://github.com/facebook/CacheLib/commit/d45bce26b86098c4915f4d13ab40d8304ccdfc5b

aaditya2200 commented 1 month ago

@therealgymmy Yes, this is the only change I have made. The builds work fine now.