mirror of
https://github.com/cldellow/sqlite-parquet-vtable.git
synced 2025-04-03 09:39:47 +00:00
Allow for PGO
This commit is contained in:
parent
4675bd2d3f
commit
223d4b7905
@ -5,4 +5,8 @@ COPY ci/arrow-centos.repo /etc/yum.repos.d/Apache-Arrow.repo
|
|||||||
RUN yum install -y parquet-devel
|
RUN yum install -y parquet-devel
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY . /src
|
COPY . /src
|
||||||
RUN mkdir builddir && meson builddir && cd builddir && ninja-build
|
RUN mkdir builddir && meson builddir
|
||||||
|
WORKDIR builddir
|
||||||
|
RUN meson configure -Db_pgo=generate && ninja-build
|
||||||
|
RUN ninja-build test
|
||||||
|
#RUN meson configure -Db_pgo=use && ninja-build
|
||||||
|
11
meson.build
11
meson.build
@ -6,11 +6,12 @@ icu = dependency('icu-i18n', version: '>=50.2')
|
|||||||
|
|
||||||
dependencies = [arrow, parquet, sqlite, icu]
|
dependencies = [arrow, parquet, sqlite, icu]
|
||||||
sources = ['src/parquet.cc', 'src/parquet_cursor.cc', 'src/parquet_filter.cc', 'src/parquet_table.cc']
|
sources = ['src/parquet.cc', 'src/parquet_cursor.cc', 'src/parquet_filter.cc', 'src/parquet_table.cc']
|
||||||
static_library('sqlite-parquet-vtable-static',
|
shared_library('parquet',
|
||||||
dependencies: dependencies,
|
|
||||||
sources: sources
|
|
||||||
)
|
|
||||||
shared_library('sqlite-parquet-vtable',
|
|
||||||
dependencies: dependencies,
|
dependencies: dependencies,
|
||||||
sources: sources
|
sources: sources
|
||||||
)
|
)
|
||||||
|
|
||||||
|
test('Load the extension', find_program('tests/test-smoke'))
|
||||||
|
test('Try loading an unsupported file', find_program('tests/test-bad-create-table'))
|
||||||
|
test('Try loading a non-existent file', find_program('tests/test-non-existent'))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user