WillAyd commented on PR #45441: URL: https://github.com/apache/arrow/pull/45441#issuecomment-2638361102
@kou this is a simplified attempt at adding Meson to address your comment https://github.com/apache/arrow/issues/41816#issuecomment-2131511532 This is currently slower than the CMake configuration by a good deal (pending investigation) and the configuration file is not 100% complete, but this should give us an idea of what a Meson configuration may look like. To use, from the cpp directory developers can: ```bash meson setup builddir -Dtests=true -Dcompute=true meson compile -C builddir meson test -C builddir ``` For ASAN/UBSAN, users could simply: ```bash meson setup builddir -Dtests=true -Dcompute=true -Db_sanitize=address,undefined ``` Or if the project is already setup run: ```bash meson configure -C builddir -Db_sanitize=address,undefined ``` Coverage can be enabled with: ```bash meson configure -C builddir -Db_coverage=true ``` and tests can be run under valgrind with: ```bash meson test -C builddir --wrap='valgrind --track-origins=yes --leak-check=full' --print-errorlog ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
