Культурный офтопик
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@altlinux.org>
To: smoke-room@lists.altlinux.org
Subject: [room] почему я недолюбливаю криворукие сборочные системы
Date: Sun, 1 Sep 2019 21:18:18 +0300
Message-ID: <20190901181818.GB8853@imap.altlinux.org> (raw)

...которые все как одна почему-то писаны на питоне...

В scons когда-то нашёл детскую ошибку, приводившую
к принципиальной несовместимости с -Wl,--as-needed:
эти читавшие ещё меньше мануалов расставили объектники
и библиотеки (переменные), разумеется, не в том порядке.

cmake не перестаёт радовать кривизной своих тестов
и системным забиванием на CFLAGS/CXXFLAGS.

Сейчас тем же порадовал waf при сборке ardour под e2k:

$ ./waf build --help | grep CF
  --keepflags           Do not ignore CFLAGS/CXXFLAGS environment vars

Офигеть, а почему?

$ grep CFLAGS wscript | grep user
        # Nuke user CFLAGS/CXXFLAGS if debug is set (they likely contain -O3, NDEBUG, etc)

Отладка у них при этом включена по умолчанию.

В итоге обнаружил специальную опцию --cxx11 (да, вот именно так)
для передачи -std=c++11 -- для ./waf configure, build молча игнорит:
https://www.nsnam.org/bugzilla/show_bug.cgi?id=1866#c1

Вот откуда у этих людей растут руки?
С чего они взяли, что им должно писать сборочные системы?..

(да, я понимаю, что жалуюсь на троллейбусной остановке,
но тут перед отправкой багрепорта надо пар выпустить,
похоже, иначе без личных характеристик не обойдусь же)

PPS: meson сопровождают примерно с таким же уровнем внимания, похоже
-- по крайней мере один разъезд внутренного API я уже наблюдал,
когда приняли патч, который его менял, но не потрудился обойти всех
уже имеющихся "клиентов" в кодовой базе и подновить их.

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info


                 reply	other threads:[~2019-09-01 18:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190901181818.GB8853@imap.altlinux.org \
    --to=mike@altlinux.org \
    --cc=smoke-room@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Культурный офтопик

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \
		smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com
	public-inbox-index smoke-room

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.smoke-room


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git