From 652d142b865a6fc20153e20473b41e5853bcdc4f Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Sat, 5 Nov 2022 04:18:13 +0530 Subject: [PATCH] SWDEV-362930 - Fixes packging issue Windows using makefile (#3054) Issue NMAKE : fatal error U1065: invalid option 'w' Solution - Windows to use Ninja but cmake needs to skip compiler test Change-Id: I1f666254ce5188dff0897815677ce4d9faf55e4c --- catch/packaging/hip-tests.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/catch/packaging/hip-tests.txt b/catch/packaging/hip-tests.txt index 553fdb853b..3db1512dfe 100644 --- a/catch/packaging/hip-tests.txt +++ b/catch/packaging/hip-tests.txt @@ -19,6 +19,13 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. cmake_minimum_required(VERSION 3.16.8) +# vc 19.31.31107.0 gives issue while packaging using makefile +# To avoid error NMAKE : fatal error U1065: invalid option 'w' +# Windows to use Ninja generator like other projects +# to skip the simple compiler test +set(CMAKE_C_COMPILER_WORKS 1) +set(CMAKE_CXX_COMPILER_WORKS 1) + project(tests) MACRO(SUBDIRLIST result curdir)