Comments (8)
must porting:
- contrib/curl: ClickHouse/ClickHouse#53487
- contrib/azure: ClickHouse/azure-sdk-for-cpp#10
- contrib/v8-cmake:
click me
diff --git a/v8/src/trap-handler/handler-inside-posix.cc b/v8/src/trap-handler/handler-inside-posix.cc
index dba47ec7..3427315c 100644
--- a/v8/src/trap-handler/handler-inside-posix.cc
+++ b/v8/src/trap-handler/handler-inside-posix.cc
@@ -47,7 +47,11 @@ namespace v8 {
namespace internal {
namespace trap_handler {
-#if V8_OS_LINUX
+#if V8_OS_LINUX && V8_HOST_ARCH_ARM64
+#define CONTEXT_PC() &uc->uc_mcontext.pc
+#elif V8_OS_DARWIN && V8_HOST_ARCH_ARM64
+#define CONTEXT_PC() &uc->uc_mcontext->__ss.__pc
+#elif V8_OS_LINUX
#define CONTEXT_REG(reg, REG) &uc->uc_mcontext.gregs[REG_##REG]
#elif V8_OS_DARWIN
#define CONTEXT_REG(reg, REG) &uc->uc_mcontext->__ss.__##reg
@@ -125,7 +129,7 @@ bool TryHandleSignal(int signum, siginfo_t* info, void* context) {
#if V8_HOST_ARCH_X64
auto* context_ip = CONTEXT_REG(rip, RIP);
#elif V8_HOST_ARCH_ARM64
- auto* context_ip = &uc->uc_mcontext.pc;
+ auto* context_ip = CONTEXT_PC();
#else
#error "Unsupported architecture."
#endif
- Fix system.licenses on mac: ClickHouse/ClickHouse#38294
- Disable ThinLTO on non-Linux: ClickHouse/ClickHouse#51897
- ClickHouse/ClickHouse#43466
from proton.
more
- ClickHouse/ClickHouse#42962
- ClickHouse/ClickHouse#47475
- ClickHouse/ClickHouse#35130
- ClickHouse/ClickHouse#55036
- ClickHouse/ClickHouse#55147
- ClickHouse/ClickHouse#51288
- ClickHouse/ClickHouse#49256
- ClickHouse/ClickHouse#49378
from proton.
take 1: #157
from proton.
I’m currently working on this and making steady progress. If you’d like to give it a try, please use the latest commit from the develop
branch. Follow the steps below. Note: Building on an older Intel Mac may take an additional hour. but for mac m1/m2 still WIP. this issue intends to enable cmake ..
to simplify the below verbose cmake commands.
- Install Dependencies Using Homebrew
(We aim to support the homebrew version of llvm/clang.)
brew install ccache cmake ninja libtool gettext llvm@16 gcc binutils grep findutils libiconv
- Configure the Build with the Specific Compiler Version:
export CC=$(brew --prefix llvm@16)/bin/clang
export CXX=$(brew --prefix llvm@16)/bin/clang++
export PATH=$(brew --prefix llvm@16)/bin:$PATH
cd proton
mkdir build && cd build
- Use the Following CMake Commands:
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=`which clang++` -DCMAKE_C_COMPILER=`which clang` -DENABLE_PROTON_ALL=OFF -DENABLE_PROTON_SERVER=ON -DENABLE_PROTON_CLIENT=ON -DENABLE_PROTON_FORMAT=ON -DENABLE_PROTON_INSTALL=OFF -DENABLE_PROTON_METASTORE=ON -DUSE_STATIC_LIBRARIES=ON -DUSE_UNWIND=OFF -DUSE_DEBUG_HELPERS=ON -DENABLE_LIBRARIES=OFF -DENABLE_KAFKA=ON -DENABLE_GRPC=ON -DENABLE_NURAFT=ON -DENABLE_RAPIDJSON=ON -DENABLE_YAML_CPP=ON -DENABLE_SIMDJSON=ON -DENABLE_ROCKSDB=ON -DENABLE_REPLXX=ON -DENABLE_JEMALLOC=OFF -DENABLE_SSL=ON -DENABLE_BZIP2=ON -DENABLE_PROTOBUF=ON -DENABLE_URING=ON -DENABLE_UTILS=OFF -DENABLE_THINLTO=OFF -DENABLE_CLANG_TIDY=OFF -DENABLE_TESTS=ON -DSTRIP_DEBUG_SYMBOLS_FUNCTIONS=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DENABLE_CCACHE=ON -DENABLE_BUILD_PATH_MAPPING=OFF -DENABLE_CYRUS_SASL=ON -DENABLE_KRB5=ON -DENABLE_HIGH_ORDER_ARRAY_FUNCS=ON -DENABLE_MATH_FUNCS=ON -DENABLE_GEO_FUNCS=ON -DENABLE_PARQUET=ON -DENABLE_THRIFT=ON -DENABLE_EMBEDDED_COMPILER=ON -DENABLE_MISC_FUNCS=ON -DENABLE_HASH_FUNCS=ON -DENABLE_INTROSPECTION_FUNCS=ON -DENABLE_BROTLI=ON
from proton.
take 2: #178
from proton.
status:
current in my local(Mac m2) works well, but the PR(#123 #186 ) has not been merged.
if you wanna take a trial, I strongly recommend using release binary.
https://github.com/timeplus-io/proton/releases
or you personally merge the 2 PRs in your local and use llvm@16 from home brew to build proton.(make takes one hour).
if you are working in a newer MACOS SYSTEM(14 or later): you need to update to xcode 15.1.beta, then use llvm@16 to build proton.
from proton.
from proton.
(Jove Github Bot) assuming it is not done, deferred this ticket to the next sprint.
from proton.
Related Issues (20)
- MV recovery issue HOT 1
- Skip checkpointing if there is no new data processed HOT 2
- follow up to skip checkpointing if there is no new data processed
- Substream (partition by) crash HOT 1
- Ctrl+C to stop `proton server` got some Fatal logs
- versioned-kv join table(versioned-kv) HOT 1
- list stream rest endpoint should return target stream for MV
- bump contrib/boost version
- Cannot replay from VersionedKV HOT 1
- migrate to c++23 some clean up
- Add unit test for streaming aggregator HOT 1
- porting Fix possible hung/deadlock on query cancellation
- Proton Extenal Stream HOT 2
- Got an assertion failed with a small checkpoint interval
- p95, p90 return incorrect result
- add a config setting for best effort recover times.
- Disable backfill from historical store for VersionedKV
- Support changelog aggregate functions `first_value/last_value/earliest/latest`
- porting Fix data race in CompletedPipelineExecutor.
- assert(substream_ctx->finalized_watermark == aggregated_chunks.back().getWatermark());
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 proton.