1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-24 21:33:51 +03:00
libxml2/.gitlab-ci/llvm-symbolizer
Nick Wellnhofer d767c6bea1 gitlab-ci: Fix llvm-symbolizer
Newer versions of llvm-symbolizer require libxml2 themselves. Running
a test program with LD_LIBRARY_PATH set to .libs makes llvm-symbolizer
pick up the tested development version of libxml2 which breaks
completely if the build is instrumented with ASan. Add a wrapper script
that invokes llvm-symbolizer with an empty LD_LIBRARY_PATH.
2022-10-25 19:34:38 +02:00

10 lines
392 B
Bash
Executable File

#!/bin/sh
# Newer versions of llvm-symbolizer require libxml2 themselves. Running
# a test program with LD_LIBRARY_PATH set to .libs makes llvm-symbolizer
# pick up the tested development version of libxml2 which breaks
# completely if the build is instrumented with ASan. This wrapper script
# invokes llvm-symbolizer with an empty LD_LIBRARY_PATH.
LD_LIBRARY_PATH='' llvm-symbolizer "$@"