[Mesa-dev] [Bug 111121] Meson build (ninja) loops infinitely when --native-file is used to specify llvm version

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 12 22:19:57 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111121

            Bug ID: 111121
           Summary: Meson build (ninja) loops infinitely when
                    --native-file is used to specify llvm version
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: shtetldik at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

Recently, Mesa master build started behaving weirdly for me, when I specify
llvm config explicitly using --native-file option for Meson.

The way I do it is like this:

   local native_config
   local llvm_ver=9
   read -r -d '' native_config <<EOF
[binaries]
llvm-config = "/usr/bin/llvm-config-${llvm_ver}"
EOF

...
LC_ALL=C.UTF-8 meson "$src_dir" \
...
--native-file=<(echo "$native_config") \
...

It used to work fine until now, but now it configures OK, but when I run:

      LC_ALL=C.UTF-8 ninja

It starts looping without end, always doing:

[0/1] Regenerating build files.

Is it a ninja bug or I'm doing something wrong?

That's what I have for meson/ninja (from Debian testing):

meson --version
0.51.1
ninja --version
1.8.2

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190712/7493d703/attachment.html>


More information about the mesa-dev mailing list