From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS autolearn=no autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=Y1rNlcy5NhMT03Udbfzlc7QvlebNkd9TbSUnIa3gia4=; b=L9WEA4FUOdVrkKG1qvZ9rufLdRq6f2q4hZy5YsXqzfNDemXQ0hZqu3nPV5nDbQpzm0 CDdaeiUUxPvUtUTKs3WAzUpUBFbBa4UEUnhVOpnFE2N2sZhS/vAE0018VmIC447FvE5Z RfbfUXAQ5iwFS+neCIGqiuW9zSZy0V97eBDD6CCavxuI6RTORRaIJwC1wTcoZiZl28bZ hebamcctrTsRxnf4htYMvBVCNi1kgrWLMOg7UtKlaPx1Rx4wavb5ZDCGmLuCIMfoPygN hBcPhjtkRPCRdJ52HSWMKr15YtUhCLvi/kSl13GfuE+mYauQJvgJuAkaG+hv/KUV2LGF P+mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=Y1rNlcy5NhMT03Udbfzlc7QvlebNkd9TbSUnIa3gia4=; b=NCr/ppxrHhu5NqKJlUBLpl3P4pCi65vmK9dZgpRw6RRZDwvYv1oKz2+6HgJyuVd/OP YMkXXDtDbZSrJJOvHwAa+wlqAMBz9RmwbqHcjZeptZXS7EyqKZVEQk+w1VMGwtcE/ba4 HDtRBhH/LCWGxi5x77J0Rz5vy5fuqtn+q51XWMsGcW0fKGJS6UzlVmK0ARJqKacLdEHg TOzl3mGVVJolv7u6tf5+bhJgXmW8E9Y/BT20rVPvxSqbhS6HVdMQjW22hde8pfn4sjVt Upm2E3yP5Qje2GxMU+g9pV4FGpEPVGLH4C8X72rOb0Rsk6hlmpsU4VHpJfIBrhq1Y+c6 hIZg== X-Gm-Message-State: AOAM530XqK7htr8R5fqNqKvJ9+56wIfInzUQtAdUnxY7nqjEEw1Eu4AD uD97NFHthMb/OF5whIRjlBrMgRZvVP3PBQ== X-Google-Smtp-Source: ABdhPJwElhZINah3bDRcKgAwOwm4dOtZ7pSj6X8FEGC/DpSpj6JrbbXaeezvlYzMMQtv+n/Vs3+JvQ== X-Received: by 2002:a19:c1d7:: with SMTP id r206mr5464873lff.345.1610696986021; Thu, 14 Jan 2021 23:49:46 -0800 (PST) Sender: "Ivan A. Melnikov" Date: Fri, 15 Jan 2021 11:49:44 +0400 From: "Ivan A. Melnikov" To: devel@lists.altlinux.org Message-ID: <20210115074944.72awgfuqvdama3yt@titan.localdomain> References: <20210107205220.GA1094824@lks.home> <20210111160945.GA1739369@lks.home> <20210114204645.GA189650@lks.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210114204645.GA189650@lks.home> Subject: Re: [devel] [#263468] EPERM (try 14) llvm-common.git=11.0.0-alt2 srpm=llvm11.0-11.0.0-alt2.src.rpm X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2021 07:49:47 -0000 Archived-At: List-Archive: List-Post: On Thu, Jan 14, 2021 at 09:46:46PM +0100, Konstantin Lepikhov wrote: > Hi Alexey! > > On 01/13/2021, at 04:47:46 PM you wrote: > > > Добрый день! > > > > On 1/11/21 8:09 PM, Konstantin Lepikhov wrote: > > > > >> %build > > >> +%define _cmake_skip_rpath -DCMAKE_SKIP_RPATH:BOOL=OFF > > >> %cmake -G Ninja \ > > >> -DLLVM_PARALLEL_LINK_JOBS=1 \ > > >> -DCMAKE_BUILD_TYPE=Release \ > > >> + -DCMAKE_INSTALL_PREFIX=%llvm_prefix \ > > >> + -DCMAKE_SKIP_INSTALL_RPATH:BOOL=OFF \ > > >> -DBUILD_SHARED_LIBS:BOOL=OFF \ > > >> - -DLLVM_TARGETS_TO_BUILD="host;AMDGPU;BPF;NVPTX;" \ > > >> + -DLLVM_TARGETS_TO_BUILD="all" \ > > > > > Почему нам нужны все TARGETS? > > > > Для Mesa, например. И для кросс-компиляции (clang --target=aarch64-linux-gnu). > для Mesa нужен только AMDGPU а не _все_ TARGETS. И кросскопиляция это > самодельный колхоз, который все равно не поддерживается на уровне > дистрибутива. Ну, надо же с чего то начать. -- wbr, iv m.