Files
clang-p2996/lldb/test/API/commands/settings/use_source_cache/Makefile
Jordan Rupprecht 5942be03ea [lldb][test] Fix TestUseSourceCache for readonly source trees (#113251)
TestUseSourceCache attempts to write to a build artifact copied from the
source tree, and asserts the write succeeded. If the source tree is read
only, the copy will also be read only, causing it to fail. When
producing the build artifact, ensure that it is writable.
2024-10-22 10:34:15 -05:00

10 lines
173 B
Makefile

CXX_SOURCES := main-copy.cpp
include Makefile.rules
# Copy file into the build folder to enable the test to modify it.
main-copy.cpp: main.cpp
cp -f $< $@
chmod u+w $@