From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B6AE7D52F for ; Wed, 2 Aug 2023 19:06:49 +0000 (UTC) Received: from out-117.mta0.migadu.com (out-117.mta0.migadu.com [IPv6:2001:41d0:1004:224b::75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA1682129 for ; Wed, 2 Aug 2023 12:06:46 -0700 (PDT) Message-ID: <87ff8db2-a5d0-ccd0-0808-c83c4c135e05@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1691003204; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FKqFX37CvYKxPY3eB4VjI3FOLMu+wlT2i2ELLkYWG3Q=; b=rJPLEIcVe1JNbuUk6CCn+tdClazw1MMrU0gpupZUQOHlXkFh78n70JVCE98NInCc74Q5aw W50/3SBGqUvqj2kJHBqKkmuYlunSIc0xKwTI/a68ULfAJcFC7uYYf7YB0y8p9xIP96OwWG 4bcMDiNIii1xHBZZNaazJ4vXY078USk= Date: Wed, 2 Aug 2023 12:06:39 -0700 Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-To: yonghong.song@linux.dev Subject: Re: [PATCH v3 bpf-next] libbpf: Use local includes inside the library Content-Language: en-US To: Sergey Kacheev , bpf@vger.kernel.org, Alan Maguire References: X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Yonghong Song In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net On 8/2/23 11:22 AM, Sergey Kacheev wrote: > In our monrepo, we try to minimize special processing when importing > (aka vendor) third-party source code. Ideally, we try to import > directly from the repositories with the code without changing it, we > try to stick to the source code dependency instead of the artifact > dependency. In the current situation, a patch has to be made for > libbpf to fix the includes in bpf headers so that they work directly > from libbpf/src. > > Signed-off-by: Sergey Kacheev Acked-by: Yonghong Song