Apache DataFusion SQL Query Engine
ARROW-8413: [C++][Parquet] Refactor Generating validity bitmap for values column
Micah Kornfield982b38888e16
diff --git a/dev/archery/archery/cli.py b/dev/archery/archery/cli.pyindex 15c05a4039..a9fddca81c 100644--- a/dev/archery/archery/cli.py+++ b/dev/archery/archery/cli.py@@ -102,6 +102,9 @@ build_type = click.Choice(["debug", "relwithdebinfo", "release"],warn_level_type = click.Choice(["everything", "checkin", "production"],case_sensitive=False)+simd_level = click.Choice(["NONE", "SSE4_2", "AVX2", "AVX512"],+ case_sensitive=True)+def cpp_toolchain_options(cmd):options = [@@ -133,6 +136,8 @@ def _apply_options(cmd, options):help="Controls compiler warnings -W(no-)error.")@click.option("--use-gold-linker", default=True, type=BOOL,help="Toggles ARROW_USE_LD_GOLD option.")[email protected]("--simd-level", default="SSE4_2", type=simd_level,+ help="Toggles ARROW_SIMD_LEVEL option.")# Tests and benchmarks@click.option("--with-tests", default=True, type=BOOL,help="Build with tests.")diff --git a/dev/archery/archery/lang/cpp.py b/dev/archery/archery/lang/cpp.pyindex 2769781096..4af0f5434c 100644--- a/dev/archery/archery/lang/cpp.py+++ b/dev/archery/archery/lang/cpp.py@@ -62,6 +62,7 @@ class CppConfiguration:# extraswith_lint_only=False,use_gold_linker=True,+ simd_level="SSE4_2",cmake_extras=None):self._cc = ccself._cxx = cxx@@ -111,6 +112,7 @@ class CppConfiguration:self.with_lint_only = with_lint_onlyself.use_gold_linker = use_gold_linker+ self.simd_level = simd_levelself.cmake_extras = cmake_extras@@ -232,6 +234,7 @@ class CppConfiguration:broken_with_gold_ld = [self.with_fuzzing, self.with_gandiva]if self.use_gold_linker and not any(broken_with_gold_ld):yield ("ARROW_USE_LD_GOLD", truthifier(self.use_gold_linker))+ yield ("ARROW_SIMD_LEVEL", or_else(self.simd_level, "SSE4_2"))# Detect custom conda toolchainif self.use_conda: