From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by sourceware.org (Postfix) with ESMTPS id BA7E6385C6D7 for ; Thu, 14 Dec 2023 15:03:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BA7E6385C6D7 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BA7E6385C6D7 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::431 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702566182; cv=none; b=FJgLW5zef5jbJXLrs+4Wm0Y2yUzTPVdKtAVP4SqNE18skdDqmskh3QCJQxd5Uj6vPS+5HlVQvQjPE/NewXc+4nmMfXk5+69RbcCSnW2o+X7i0L5LfwqmdaJ9/OK82aMu2NKjvQXwMbTc5Gam7mXfsqS9v0ahpEWNlx5fDBCc2Vs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702566182; c=relaxed/simple; bh=8Rt9DRS7jNfrZpzENjKRUEvlS7InCRZ7S30Lz4+5GpQ=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=K2TJ+2ph4wrDEhJFcYv4yLnSRa2h++cqN+/RYqS4Lv+x1QazQxx5zsl8X3g2bg5wBRMHNVptCugXWT9LCne0a7UJdeOlETN6TZCeTLYIOyu454V2sH0+WJ2dYDkNrl4mVy6stgBdT0MBr+q6gKbJdadKrZMy24j7qHT5MTc2a5M= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-32f8441dfb5so7460816f8f.0 for ; Thu, 14 Dec 2023 07:03:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; t=1702566179; x=1703170979; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TUE6+9aYeXHM2hF2V6Nh1QqObZv2ISdyI+5ALzB2yvA=; b=RdRbK0ITIoDXqOtLc83yODMLJBTw7pjaTn+5eyNZ89pJrh7bLqTFT1GBI79GzNBClh 50HtwjhrDgJS4nOrnTNhSjYQx6mLu6KRZzLQxmPVfC1JsCJHdfM+ctyR9f0Gdtr3/hHB u/CWS4qplWf7gFRme2+8kvF63nJ+Wr37xp8MQgp+Bot/O6w1gMpRyLbOAuoLfNXXMYd7 yaq+teulUC3RAl5KNmVOB02sjtouYeVd6S069gkr351t8hspTrEUW7d+mSoFraLNWKs3 mOf2JOYP2qOI1fa8Md13487eHdnYJnNlK4RxoY1un8hxwMkMU/cdW2QE0qAGNGabwDt1 ZpLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702566179; x=1703170979; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TUE6+9aYeXHM2hF2V6Nh1QqObZv2ISdyI+5ALzB2yvA=; b=vXJ+DP9nw4hwfxnr/WCbLZtIYxugj7FW2lqo3XVY2lwJT2VNjLqPM8e0hbfg7PAeBD 3kIYBrlq+onAUsYzbkCq4xoipPOr/FYAxOWke+ocug2IMmg8e2lW/kjpb8VEludwaLDK 2nINY0VTYZPgooBfN4EgTwoPNoZ6gjC2ZHf5Eni83ZPMlkSeraXumFQghXyJgCMVYfQp siK5CrLGij3y1uaZoWjPbOoGByf7XnDWLx/RyCMIc9NGelTLfnKKhjc3gACOmW8LG1P5 U3cDx7oWKt3vkLvchHoaN6RB6aTL7pWOxVbDg5VT6w7EI4jMerUVPTYrdRoXNGxIaMGn aMAQ== X-Gm-Message-State: AOJu0YyfOxDf7//AvX+Qa4IbJyUEsgTTEjgdVhSD1FlZ/2DgJvbS8vkO 8AcMAj3r5n9y0m65Z7hFgbhE X-Google-Smtp-Source: AGHT+IFJhf3dM6Nnm0UuPYnIMvcFYQCMTQqqRj3pBqY0UGUFOnui5uExFYax01S0kar9ZWU4IQY4Ag== X-Received: by 2002:a05:6000:c05:b0:332:f8d2:640a with SMTP id dn5-20020a0560000c0500b00332f8d2640amr4515379wrb.37.1702566179474; Thu, 14 Dec 2023 07:02:59 -0800 (PST) Received: from toucan.lan ([2a04:cec0:1900:eef8:2747:38c1:11cb:6398]) by smtp.gmail.com with ESMTPSA id j12-20020a5d452c000000b003363db0399asm4301094wra.94.2023.12.14.07.02.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 07:02:59 -0800 (PST) From: Arthur Cohen To: gcc-patches@gcc.gnu.org Cc: gcc-rust@gcc.gnu.org, dkm@kataplop.net, Pierre-Emmanuel Patry , Thomas Schwinge Subject: [COMMITTED 4/4] build: Add libgrust as compilation modules Date: Thu, 14 Dec 2023 16:05:43 +0100 Message-Id: <20231214150539.12345-5-arthur.cohen@embecosm.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20231214150539.12345-1-arthur.cohen@embecosm.com> References: <20231214150539.12345-1-arthur.cohen@embecosm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: From: Pierre-Emmanuel Patry Define the libgrust directory as a host compilation module as well as for targets. Disable target libgrust if we're not building target libstdc++. ChangeLog: * Makefile.def: Add libgrust as host & target module. * configure.ac: Add libgrust to host tools list. Add libgrust to noconfigdirs if we're not building target libstdc++. * Makefile.in: Regenerate. * configure: Regenerate. gcc/rust/ChangeLog: * config-lang.in: Add libgrust as a target module for the rust language. Co-authored-by: Thomas Schwinge Signed-off-by: Pierre-Emmanuel Patry