From patchwork Mon Aug 5 19:47:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Constantino X-Patchwork-Id: 14255 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 25AF6446F55 for ; Mon, 5 Aug 2019 22:53:56 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EF2A468A40E; Mon, 5 Aug 2019 22:53:55 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C08BC689A11 for ; Mon, 5 Aug 2019 22:53:48 +0300 (EEST) Received: by mail-wm1-f46.google.com with SMTP id a15so75880728wmj.5 for ; Mon, 05 Aug 2019 12:53:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CrP80DRST/MSzvE7obqJTZLgFiWjWY6kExMGA+4ba04=; b=K0vZuLMhuK0UawiZoo8U/J3xqGOqaO3UcKC7cFWB7g+s55rbHjqrvlVUJsOCRxi5NK 1muMD02CuyODnfuTcgmD7K1YAjUjwELUU2DkCxrvzLZYw72tnItIQaYNDHQl4zbMsG0w a+4Ao/RI3OqJb9lF1q6SqFw0bkHZ8KRTeT3bSNHw7IyTtEgx70omA97yFwCRnz2M0dUK 6xbEYGyV2bVX9W/8+v1VEAf6ZQD36S5Ocpu1/XBM/N+1IZxkHHpDgW5D8QNPKqnwMXg3 bFvKlSMjkrvwgDvIM3mug5HQTPqbNwgEjmiblPdAsupP5VdpfFCI2PXYaNCqGZKNePTS 3EiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CrP80DRST/MSzvE7obqJTZLgFiWjWY6kExMGA+4ba04=; b=pygGZEdA0ZkK3jbn+wN6/MmOPVYVYWZDuxCbumw3xavrHilT/eSS3JQYTWaDUjzxSp E+h27nC84h1pXNABgLsRMVYyKBBb76q3nmY6E/R1Rxd90W5ukeaLeumof/mLnfOBxJgz 97+b5ZnJpXQwU2NDRKycXDsseiMRuZuy7vs6Oa00nvlqKk3D+CgFN4SB8R7lfolAYYqD znLggUK9ZiFTDMDcdfZ5jpNA2wZx5nepEUtBOnU8nDN0y8etx9bDc83XTVDmsBKbcnyO D8r9iTv18b8ljW4rOrN+vJv8S68LnJrYlpJbeULEqXyL3Kxrutm4NVDdWcSpehmkqkKf kTBw== X-Gm-Message-State: APjAAAULAlc35RECwWBDXVJk+JoWKW2hlvSB/HupHJKZ6WsJcWMSga+2 1gJr6YBf1+gCqbASZ31y2JfpmAzGGZk= X-Google-Smtp-Source: APXvYqwUz9CmrPKVdJrFBaHY4mMIESQQcjutPHlsvQ2habD98vqI8d6wbUfGZtUTB8YnkCn28u0dkw== X-Received: by 2002:a05:600c:2c7:: with SMTP id 7mr34264wmn.45.1565034434203; Mon, 05 Aug 2019 12:47:14 -0700 (PDT) Received: from localhost.localdomain ([2001:8a0:fcae:2100:244b:f290:629f:786b]) by smtp.gmail.com with ESMTPSA id z5sm61203696wmf.48.2019.08.05.12.47.12 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 05 Aug 2019 12:47:13 -0700 (PDT) From: Ricardo Constantino To: ffmpeg-devel@ffmpeg.org Date: Mon, 5 Aug 2019 20:47:03 +0100 Message-Id: <20190805194703.32166-1-wiiaboo@gmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] configure: cuda_llvm: fix include path for MSYS2 X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" MSYS2 converts paths to MinGW-based applications from unix to pseudo-windows paths on execution time. Since there was no space between '-include' and the path, MSYS2 doesn't detect the path properly. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index bddc05b850..34c2adb4a4 100755 --- a/configure +++ b/configure @@ -6094,7 +6094,7 @@ fi if enabled cuda_nvcc; then nvccflags="$nvccflags -ptx" else - nvccflags="$nvccflags -S -nocudalib -nocudainc --cuda-device-only -include${source_link}/compat/cuda/cuda_runtime.h" + nvccflags="$nvccflags -S -nocudalib -nocudainc --cuda-device-only -include ${source_link}/compat/cuda/cuda_runtime.h" check_nvcc cuda_llvm fi