From 8cf7241b640a3bccbf8381169166b8bbd2e0a453 Mon Sep 17 00:00:00 2001 From: Mikael Simberg Date: Tue, 5 Jul 2022 10:52:52 +0200 Subject: Build llvm-amdgpu's libcxx with cmake --build (#31403) CMAKE_GENERATOR may be set to something other than "Unix Makefiles" in which case the build would fail because there is no Makefile for make to build. --- var/spack/repos/builtin/packages/llvm-amdgpu/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/llvm-amdgpu/package.py b/var/spack/repos/builtin/packages/llvm-amdgpu/package.py index 13440ff0dd..ce74666fe5 100644 --- a/var/spack/repos/builtin/packages/llvm-amdgpu/package.py +++ b/var/spack/repos/builtin/packages/llvm-amdgpu/package.py @@ -202,4 +202,4 @@ class LlvmAmdgpu(CMakePackage): ] cmake_args.extend(self.cmake_args()) cmake(*cmake_args) - make() + cmake("--build", ".") -- cgit v1.2.3-70-g09d2