Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson does not support many compiler and this makes all projects using meson unusable #12501

Closed
winspool opened this issue Nov 11, 2023 · 2 comments

Comments

@winspool
Copy link

winspool commented Nov 11, 2023

User experience: unusable build system
I tried a project, which depends on "meson",
and my user experience is: "unusable build system"

Describe the bug
All projects using meson are broken,
when the project user tries to use a compiler different from the few compilers supported by meson.

Examples for my tries using the "criterion" project, which depends on "meson":

CC=tcc  CFLAGS="-v"  meson  setup

../meson.build:1:0: ERROR: Unknown compiler(s): [['tcc']]

Next try:

CC=owcc  CFLAGS="-v -blinux -I$WATCOM/lh"  meson  setup

../meson.build:1:0: ERROR: Unknown compiler(s): [['owcc']]

See also: Snaipe/Criterion#514

To Reproduce

  • checkout criterion from https://github.com/Snaipe/Criterion
  • create a build dir
  • cd into the build dir
  • first try: CC=tcc CFLAGS="-v" meson setup
  • second try: CC=owcc CFLAGS="-v -blinux -I$WATCOM/lh" meson setup

Expected behavior
A build system has to work

system parameters

  • native build, x86_64
  • ubuntu 2304 (lunar)
  • python 3.11.4
  • meson 1.0.1
  • ninja 1.11.1

--
Regards ... Detlef

@thesamesam
Copy link
Collaborator

See #5406.

@xclaesse
Copy link
Member

Closing as dup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants