X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) by lists.alpinelinux.org (Postfix) with ESMTP id DD3355C5910 for ; Mon, 29 Oct 2018 12:24:13 +0000 (GMT) Received: by mail-lj1-f195.google.com with SMTP id g8-v6so4666045ljk.1 for ; Mon, 29 Oct 2018 05:24:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Qg1sFKWCHQ14kzdx5uTop72PJ9bfRGXyTKkTsxNc4Fs=; b=LulK5EuZGtn82oqYX9SQOwgy8JFL6d0MV5LEvO9XIDL8yA07rh6O0Z10pTEDXpkn+5 7SBqI10gDEZbqyNmMSgtC3HrFZ1iVsibNOVLQCU9flKT+gfQfVwf6zUvjLb6/FKLCqy7 IHcIAH1j4oL8kr0bE6OjUqiSYisw1HbgcTEUMdkiUn7vWwv2wZbSwIijwJADR/clxBXq DbxTvNZmijiZazH1Bj0d5G5U9PhY2mM9BG5Fx3EeIiKBBC2ndXSV++5lVzMaPKUFkvzC Td8t6grH/WFFfq1VBLSuUstt+406w3DddD7D3ZzeKQgMViA9R2GDA55rWcKQITgiT5FA 8Zcg== X-Gm-Message-State: AGRZ1gIio3rij33UcsW7HQ4bUdwuQ6ux4jCJsItR4WzdYqcuHnp8uPs3 giFDZSGhqoreo58NiFpI02c= X-Google-Smtp-Source: AJdET5djkd4OWNAQUPlqaqDVP3CZS35milq2KPSrCAOcew4V+wjRh0sdQfJSOhA3JJrSOMQEZ07PcA== X-Received: by 2002:a2e:80c7:: with SMTP id r7-v6mr8662303ljg.174.1540815852670; Mon, 29 Oct 2018 05:24:12 -0700 (PDT) Received: from vostro ([83.145.235.201]) by smtp.gmail.com with ESMTPSA id t73-v6sm2719747lje.23.2018.10.29.05.24.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Oct 2018 05:24:12 -0700 (PDT) Date: Mon, 29 Oct 2018 14:24:07 +0200 From: Timo Teras To: Kaarle Ritvanen Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Packaging cross-compilers Message-ID: <20181029142407.5ea30e3c@vostro> In-Reply-To: References: X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi On Fri, 19 Oct 2018 15:39:27 +0300 (EEST) Kaarle Ritvanen wrote: > I have prepared a patch set for packaging cross-compilers. You can > view the patches here: > > https://git.alpinelinux.org/cgit/user/kunkku/abuild/log/?h=cross > https://git.alpinelinux.org/cgit/user/kunkku/aports/commit/?h=cross&id=725c58c22e8e2a6b91150cb3e42c043e2e7423ae > > Feedback is appreciated. The idea and implementation looks mostly good to me. Few comments: - Ideally, the native build would be done first (as it is done now) and the cross-compiler build is done later (filter out the native ctarget) - This affects produced .apk files. The other abuild actions should be updated too e.g. cleanpkg, cleanoldpkg and listpkg. - I'm thinking if the list of cross-targets should be per-package instead of per-git repository. I think this list is mostly needed for binutils+gcc (as clang supports all targets from single build). Though I think there's arguments also for keeping it in repository. - How about the cross-compilers that target non-alpine setup like AVR (community/gcc-avr) or bare-metal arm (we had patches to testing/gcc-arm-embedded which are maybe not merged)? Thanks, Timo --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---