File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 fetch-depth : 0
2121 ref : ${{ inputs.git_ref }}
2222
23- - run : make format-check
23+ - run : |
24+ python3 -m pip install --user clang_format==11.0.1
25+ make format-check
2426
2527 java-linux-amd64 :
2628 name : Java Linux (amd64)
Original file line number Diff line number Diff line change 22import sys
33import json
44import pickle
5+ import platform
56import argparse
67
78parser = argparse .ArgumentParser (description = 'Inlines DuckDB Sources' )
1718# list of extensions to bundle
1819extensions = ['core_functions' , 'parquet' , 'icu' , 'json' ]
1920
21+ # Conditionally include jemalloc
22+ is_android = hasattr (sys , 'getandroidapilevel' )
23+ is_pyodide = 'PYODIDE' in os .environ
24+ use_jemalloc = (
25+ not is_android and not is_pyodide and platform .system () == 'Linux' and platform .architecture ()[0 ] == '64bit'
26+ )
27+ if use_jemalloc :
28+ extensions .append ('jemalloc' )
29+
2030# path to target
2131basedir = os .getcwd ()
2232target_dir = os .path .join (basedir , 'src' , 'duckdb' )
You can’t perform that action at this time.
0 commit comments