4paradigm / hybridsql-asserts Goto Github PK
View Code? Open in Web Editor NEWHybridSQL third-party libraries
License: Apache License 2.0
HybridSQL third-party libraries
License: Apache License 2.0
generally, -fPIC
is not needed building static library
We'll use GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST
in hybridse on mac. But googletest-1.10.0 doesn't have this macro.
The gtest lib in released mac thirdparty, is not 1.10.0. Let's update it to v1.11.0.
we'll generally following github runner's milestone and using macos-latest
as default macos environment, ref actions/runner-images#9255.
So since release v0.7.0, pre-compiled thirdparty for darwin will use macos-12, specifically requires:
minos 12.0
sdk 12.3
We use sed -i '' 's/^#include <syscall.h>/#include <sys\/syscall.h>/' src/logging.cc
to make it work on MacOS.
It's better to add a fix patch on https://github.com/4paradigm/common ?
bazel build //zetasql/parser/...
, many required library only built shared, without static libraryFail to build LevelDB.
https://github.com/jingchen2222/hybridsql-asserts/runs/3120408910?check_suite_focus=true
+ '[' -f leveldb_succ ']'
+ tar zxf leveldb-1.20.tar.gz
+ pushd leveldb-1.20
~/work/hybridsql-asserts/hybridsql-asserts/src/leveldb-1.20 ~/work/hybridsql-asserts/hybridsql-asserts/src ~/work/hybridsql-asserts/hybridsql-asserts
++ nproc
+ make -j3 'OPT=-O2 -DNDEBUG -fPIC'
mkdir out-shared
c++ -O3 -fPIC -I. -I./include -std=c++0x -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -DLEVELDB_ATOMIC_PRESENT -O2 -DNDEBUG -fPIC -fPIC -c db/db_bench.cc -o out-shared/db/db_bench.o
mkdir out-static
mkdir out-shared/db
error: unable to open output file 'out-shared/db/db_bench.o': 'No such file or directory'
1 error generated.
make: *** [out-shared/db/db_bench.o] Error 1
make: *** Waiting for unfinished jobs....
Error: Process completed with exit code 2.
Retry building might success.
Maybe we can upgrade to higher version leveldb
google/leveldb#556
currently artifact name has datatime instead of version from tag. so it is not so easy to construct dynamically from a version number.
Task:
workflow_dispatch accept 2 args:
so it is possible to run test over PRs from OpenMLDB that changes third party
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.