From 5f7a020cd2571273a8245fecd313b292a4bd51b3 Mon Sep 17 00:00:00 2001 From: luc Date: Fri, 1 May 2020 15:20:37 +0800 Subject: [PATCH] build: interrupted to make cuda-sim target due to unsuccessful `chmod -w` running `chmod -w instructions.h` in Ubuntu 19.10 outputs: "new permissions are r-xrwxrwx, not r-xr-xr-x" and exit with failure status. --- src/cuda-sim/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cuda-sim/Makefile b/src/cuda-sim/Makefile index 999dad7c7..c39a57c9b 100644 --- a/src/cuda-sim/Makefile +++ b/src/cuda-sim/Makefile @@ -124,7 +124,7 @@ $(OUTPUT_DIR)/instructions.h: instructions.cc @echo "#define instructions_h_included" >> $*.h @cat $< | grep "_impl(" | sed 's/{.*//' | sed 's/$$/;/' >> $*.h @echo "#endif" >> $*.h - @chmod -w $*.h + @chmod a-w $*.h @echo "created $(OUTPUT_DIR)/instructions.h" $(OUTPUT_DIR)/ptx_parser_decode.def: $(OUTPUT_DIR)/ptx.tab.c