Skip to content

Commit 7b2bcd4

Browse files
committed
Revert "Temporary ugly hack to download old versions of winrpm gcc dll's" (#17906)
This reverts commit 97f1841. ref #15521 (cherry picked from commit 8a24871)
1 parent cf87b56 commit 7b2bcd4

File tree

2 files changed

+8
-17
lines changed

2 files changed

+8
-17
lines changed

Makefile

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ endif
438438

439439
ifeq ($(OS), WINNT)
440440
[ ! -d dist-extras ] || ( cd dist-extras && \
441-
cp 7z.exe 7z.dll libexpat-1.dll zlib1.dll libgfortran-3.dll libquadmath-0.dll libstdc++-6.dll libgcc_s_s*-1.dll libssp-0.dll $(bindir) && \
441+
cp 7z.exe 7z.dll libexpat-1.dll zlib1.dll $(bindir) && \
442442
mkdir $(DESTDIR)$(prefix)/Git && \
443443
7z x PortableGit.7z -o"$(DESTDIR)$(prefix)/Git" && \
444444
echo "[core] eol = lf" >> "$(GITCONFIG)" && \
@@ -562,14 +562,7 @@ ifneq (,$(filter $(ARCH), i386 i486 i586 i686))
562562
$(JLDOWNLOAD) http://downloads.sourceforge.net/sevenzip/7z920.exe && \
563563
7z x -y 7z920.exe 7z.exe 7z.dll && \
564564
../contrib/windows/winrpm.sh http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.2 \
565-
"mingw32-libexpat1 mingw32-zlib1" && \
566-
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw32-libgfortran3-5.3.0-1.1.noarch.rpm && \
567-
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw32-libquadmath0-5.3.0-1.1.noarch.rpm && \
568-
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw32-libstdc++6-5.3.0-1.1.noarch.rpm && \
569-
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw32-libgcc_s_sjlj1-5.3.0-1.1.noarch.rpm && \
570-
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw32-libssp0-5.3.0-1.1.noarch.rpm && \
571-
for i in *.rpm; do 7z x -y $$i; done && \
572-
for i in *.cpio; do 7z x -y $$i; done && \
565+
"mingw32-libgfortran3 mingw32-libquadmath0 mingw32-libstdc++6 mingw32-libgcc_s_sjlj1 mingw32-libssp0 mingw32-libexpat1 mingw32-zlib1" && \
573566
cp usr/i686-w64-mingw32/sys-root/mingw/bin/*.dll . && \
574567
$(JLDOWNLOAD) PortableGit.7z https://github.com/git-for-windows/git/releases/download/v2.6.1.windows.1/PortableGit-2.6.1-32-bit.7z.exe
575568
else ifeq ($(ARCH),x86_64)
@@ -579,14 +572,7 @@ else ifeq ($(ARCH),x86_64)
579572
mv _7z.dll 7z.dll && \
580573
mv _7z.exe 7z.exe && \
581574
../contrib/windows/winrpm.sh http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.2 \
582-
"mingw64-libexpat1 mingw64-zlib1" && \
583-
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw64-libgfortran3-5.3.0-1.1.noarch.rpm && \
584-
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw64-libquadmath0-5.3.0-1.1.noarch.rpm && \
585-
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw64-libstdc++6-5.3.0-1.1.noarch.rpm && \
586-
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw64-libgcc_s_seh1-5.3.0-1.1.noarch.rpm && \
587-
$(JLDOWNLOAD) https://juliacache.s3.amazonaws.com/mingw64-libssp0-5.3.0-1.1.noarch.rpm && \
588-
for i in *.rpm; do 7z x -y $$i; done && \
589-
for i in *.cpio; do 7z x -y $$i; done && \
575+
"mingw64-libgfortran3 mingw64-libquadmath0 mingw64-libstdc++6 mingw64-libgcc_s_seh1 mingw64-libssp0 mingw64-libexpat1 mingw64-zlib1" && \
590576
cp usr/x86_64-w64-mingw32/sys-root/mingw/bin/*.dll . && \
591577
$(JLDOWNLOAD) PortableGit.7z https://github.com/git-for-windows/git/releases/download/v2.6.1.windows.1/PortableGit-2.6.1-64-bit.7z.exe
592578
else

contrib/windows/msys_build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@ mkdir -p usr/Git/tmp
103103
# Remove libjulia.dll if it was copied from downloaded binary
104104
rm -f usr/bin/libjulia.dll
105105
rm -f usr/bin/libjulia-debug.dll
106+
rm -f usr/bin/libgcc_s_s*-1.dll
107+
rm -f usr/bin/libgfortran-3.dll
108+
rm -f usr/bin/libquadmath-0.dll
109+
rm -f usr/bin/libssp-0.dll
110+
rm -f usr/bin/libstdc++-6.dll
106111

107112
if [ -z "$USEMSVC" ]; then
108113
if [ -z "`which ${CROSS_COMPILE}gcc 2>/dev/null`" ]; then

0 commit comments

Comments
 (0)