Skip to content

Commit dc9d9e1

Browse files
author
luc
committed
build: interrupted to make cuda-sim target due to failed 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.
1 parent e7fbfaa commit dc9d9e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cuda-sim/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ $(OUTPUT_DIR)/instructions.h: instructions.cc
124124
@echo "#define instructions_h_included" >> $*.h
125125
@cat $< | grep "_impl(" | sed 's/{.*//' | sed 's/$$/;/' >> $*.h
126126
@echo "#endif" >> $*.h
127-
@chmod -w $*.h
127+
@chmod a-w $*.h
128128
@echo "created $(OUTPUT_DIR)/instructions.h"
129129

130130
$(OUTPUT_DIR)/ptx_parser_decode.def: $(OUTPUT_DIR)/ptx.tab.c

0 commit comments

Comments
 (0)