Skip to content

Commit

Permalink
Library install: don't preserve symlinks on Windows (breaks release b…
Browse files Browse the repository at this point in the history
…uild).
  • Loading branch information
davexparker committed Jan 11, 2024
1 parent d7c7a53 commit 630ec6f
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 12 deletions.
16 changes: 12 additions & 4 deletions prism/ext/ppl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,22 @@ libfiles: $(NATIVE_LIBS_COPY) $(COMMON_LIBS_COPY)

../../$(PRISM_LIB_DIR)/%: $(OSTYPE)/$(ARCH)/%
@if [ -f "$<" ]; then \
echo cp -R $< $@; \
cp -R $< $@; \
echo Copying $< $@; \
if [ $(OSTYPE) = "cywgin" ]; then \
cp $< $@; \
else \
cp -R $< $@; \
fi \
fi

../../$(PRISM_LIB_DIR)/%: common/%
@if [ -f "$<" ]; then \
echo cp -R $< $@; \
cp -R $< $@; \
echo Copying $< $@; \
if [ $(OSTYPE) = "cygwin" ]; then \
cp $< $@; \
else \
cp -R $< $@; \
fi \
fi

clean: checks
Expand Down
16 changes: 12 additions & 4 deletions prism/ext/yices/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,22 @@ libfiles: $(NATIVE_LIBS_COPY) $(COMMON_LIBS_COPY)

../../$(PRISM_LIB_DIR)/%: $(OSTYPE)/$(ARCH)/%
@if [ -f "$<" ]; then \
echo cp -R $< $@; \
cp -R $< $@; \
echo Copying $< $@; \
if [ $(OSTYPE) = "cywgin" ]; then \
cp $< $@; \
else \
cp -R $< $@; \
fi \
fi

../../$(PRISM_LIB_DIR)/%: common/%
@if [ -f "$<" ]; then \
echo cp -R $< $@; \
cp -R $< $@; \
echo Copying $< $@; \
if [ $(OSTYPE) = "cygwin" ]; then \
cp $< $@; \
else \
cp -R $< $@; \
fi \
fi

clean: checks
Expand Down
16 changes: 12 additions & 4 deletions prism/ext/z3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,22 @@ libfiles: $(NATIVE_LIBS_COPY) $(COMMON_LIBS_COPY)

../../$(PRISM_LIB_DIR)/%: $(OSTYPE)/$(ARCH)/%
@if [ -f "$<" ]; then \
echo cp -R $< $@; \
cp -R $< $@; \
echo Copying $< $@; \
if [ $(OSTYPE) = "cywgin" ]; then \
cp $< $@; \
else \
cp -R $< $@; \
fi \
fi

../../$(PRISM_LIB_DIR)/%: common/%
@if [ -f "$<" ]; then \
echo cp -R $< $@; \
cp -R $< $@; \
echo Copying $< $@; \
if [ $(OSTYPE) = "cygwin" ]; then \
cp $< $@; \
else \
cp -R $< $@; \
fi \
fi

clean: checks
Expand Down

0 comments on commit 630ec6f

Please sign in to comment.