Skip to content

Instantly share code, notes, and snippets.

@vagetablechicken
Last active June 25, 2023 10:45
Show Gist options
  • Save vagetablechicken/76c2c6547db276a9f04965cecaf79309 to your computer and use it in GitHub Desktop.
Save vagetablechicken/76c2c6547db276a9f04965cecaf79309 to your computer and use it in GitHub Desktop.
The right way to merge libs
create libopenmldbsdk.a
addlib /home/huangwei/OpenMLDB/build/src/sdk/libopenmldb_api.a
addlib /home/huangwei/OpenMLDB/build/src/libopenmldb_sdk.a
addlib /home/huangwei/OpenMLDB/build/src/libopenmldb_codec.a
addlib /home/huangwei/OpenMLDB/build/src/libopenmldb_catalog.a
addlib /home/huangwei/OpenMLDB/build/src/libschema.a
addlib /home/huangwei/OpenMLDB/build/src/libclient.a
addlib /home/huangwei/OpenMLDB/build/src/libzk_client.a
addlib /home/huangwei/OpenMLDB/build/src/libbase.a
addlib /home/huangwei/OpenMLDB/build/src/libopenmldb_flags.a
addlib /home/huangwei/OpenMLDB/build/hybridse/src/sdk/libhybridse_sdk.a
addlib /home/huangwei/OpenMLDB/build/hybridse/src/libhybridse_core.a
addlib /home/huangwei/OpenMLDB/build/hybridse/src/libhybridse_flags.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libzetasql.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libbrpc.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libleveldb.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libprotobuf.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libglog.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libgflags.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libboost_filesystem.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libboost_date_time.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libboost_regex.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_log_severity.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_raw_logging_internal.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_spinlock_wait.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_base.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_throw_delegate.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_bad_optional_access.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_strings_internal.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_int128.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_strings.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_cord.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_debugging_internal.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_stacktrace.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_leak_check.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_city.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_bad_variant_access.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_wyhash.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_hash.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_exponential_biased.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_malloc_internal.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_graphcycles_internal.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_civil_time.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_time_zone.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_time.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_demangle_internal.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_symbolize.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_synchronization.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_hashtablez_sampler.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_raw_hash_set.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_flags_commandlineflag_internal.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_flags_commandlineflag.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_flags_program_name.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_flags_config.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_str_format_internal.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_flags_marshalling.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_flags_internal.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_flags_private_handle_accessor.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_flags_reflection.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_flags.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_flags_usage_internal.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_flags_usage.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_flags_parse.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_random_distributions.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_random_internal_platform.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_random_internal_randen_hwaes_impl.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_random_internal_randen_hwaes.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_random_internal_randen_slow.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_random_internal_randen.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_random_internal_seed_material.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_random_seed_gen_exception.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_random_internal_pool_urbg.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_random_seed_sequences.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_strings.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_strings_internal.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_synchronization.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_time.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_status.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libabsl_statusor.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libzookeeper_mt.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libre2.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMDemangle.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMSupport.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMBinaryFormat.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMRemarks.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMCore.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMDebugInfoMSF.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMDebugInfoCodeView.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMMC.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMBitstreamReader.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMBitReader.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMMCParser.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMObject.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMRuntimeDyld.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMProfileData.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMAnalysis.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMTarget.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMExecutionEngine.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMJITLink.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMTransformUtils.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMBitWriter.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMAggressiveInstCombine.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMInstCombine.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMScalarOpts.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMCodeGen.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMInstrumentation.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMVectorize.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMAsmParser.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMIRReader.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMLinker.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMipo.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMPasses.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMOrcJIT.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMDebugInfoDWARF.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMAsmPrinter.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMSelectionDAG.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMGlobalISel.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMMCDisassembler.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMX86Info.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMX86Utils.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMX86Desc.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMX86CodeGen.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMX86Desc.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libLLVMX86Info.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libssl.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libcrypto.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libz.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libsnappy.a
addlib /home/huangwei/OpenMLDB/build/_deps/farmhash-build/libfarmhash.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libicui18n.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libicuio.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libicuuc.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libicudata.a
addlib /home/huangwei/OpenMLDB/.deps/usr/lib/libyaml-cpp.a
save
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment