From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 284536EFDA; Thu, 2 Jun 2022 16:23:43 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 284536EFDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1654176223; bh=yFfd9DZrYXv1sQt+qG3Txfc9mQuGESp/rum/cfqKOVg=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=XfzeCh1o4QX4saKrK7k6RM79L7IJbPx2b1uOmz7htIz6ssxYKc895yajGcdFeJubp hn2D11bzeGdQ+HqHYmHWPiStI0HMU0EOAbCxmYsSd3azDyur9HP9gZcJoAk3uTtlS2 PC52J2c/NPTs7feh7lFzhhkV/dul0z5yRdthhAQc= Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 7B17470655 for ; Thu, 2 Jun 2022 16:22:46 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 7B17470655 Received: by mail-lf1-f52.google.com with SMTP id s6so7763246lfo.13 for ; Thu, 02 Jun 2022 06:22:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ORvnxDKDFt7cfkPTcFSKQWiMt4BOmp10Do6l43ZEw6g=; b=DAu0kB6v6tsMAOIRXYujQqLjsgHlO3dMVBStFt3M/LLJU+oSXU1xRacwp9sK/2sgHm bC9uXABnlRno5b2VsrC4w02oLLMjHAH80s4Z9CNEIGDkn+V6yUuRaMIsMET+QfTkB3vc mONfojuh1jpI0rwZjhklvqyBz3jhNzVTWev+ixIHCfcTew51j7E4C+wCoJnkBG5ArBeR usjcIstOKN1k0JxXNiPQ1HFyECanH/Ybmr6dOxSqiFmGiusu2FSD03lEefzeyT53IPHd 45npr5WKgaAgU7j8/SRqM7p64UenyxR05RjUeHw1ILsB913SdUfQMEms8qHUs965dK+2 Wqbw== X-Gm-Message-State: AOAM530ie3tG63KmibA+/gVEcN1x8UdchjQLXm5gFlsJsj8F4aWjU5eC qpMk5miJb8LFB46rnrjG0xlW3B5WhG8= X-Google-Smtp-Source: ABdhPJwlIP1MyuT9y3SnOb5ripjWRMhJAZ9i8QddmzJO1l6Mgu0ndZ88k/8ZRnZqGEDPME585J63FQ== X-Received: by 2002:a05:6512:1693:b0:474:35c:8c11 with SMTP id bu19-20020a056512169300b00474035c8c11mr3496434lfb.19.1654176165851; Thu, 02 Jun 2022 06:22:45 -0700 (PDT) Received: from pony.mail.msk ([2a00:1148:b0ba:16:2894:da3a:9c3f:b06]) by smtp.gmail.com with ESMTPSA id z22-20020a195e56000000b0047255d210ddsm1039592lfi.12.2022.06.02.06.22.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jun 2022 06:22:45 -0700 (PDT) X-Google-Original-From: Sergey Bronnikov To: tarantool-patches@dev.tarantool.org Date: Thu, 2 Jun 2022 16:22:43 +0300 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [v2][PATCH 3/5] build/ninja: rename default target X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Bronnikov via Tarantool-patches Reply-To: Sergey Bronnikov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Default target name and target for building CLI have the same name. It breaks Ninja build: ninja: Entering directory `build/' ninja: error: build.ninja:1656: multiple rules generate src/luajit [-w dupbuild=err] Patch renames default target name to avoid conflict. --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 104ce999..4995211f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -344,7 +344,7 @@ target_link_libraries(${LUAJIT_BIN} ${LUAJIT_LIB} ${TARGET_LIBS}) set(LUAJIT_BINARY $ PARENT_SCOPE) add_custom_target(libluajit DEPENDS ${LIBLUAJIT_DEPS}) -add_custom_target(luajit ALL DEPENDS libluajit ${LUAJIT_DEPS}) +add_custom_target(luajit-main ALL DEPENDS libluajit ${LUAJIT_DEPS}) # Unfortunately, CMake provides no guarantees for install commands # used for the targets excluded from and obliges user to -- 2.25.1