Skip to content

Commit 253e658

Browse files
committed
update patch
1 parent 256ac02 commit 253e658

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

patches/0001-build-a-single-shared-object.patch renamed to patches/0001-create-a-single-shared-object.patch

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
From 7203d885e0b88128d2b2252956d21c0000888de4 Mon Sep 17 00:00:00 2001
1+
From ebca632fd6a3b41643d2cd51da37c6c199e915be Mon Sep 17 00:00:00 2001
22
From: mattip <[email protected]>
3-
Date: Fri, 19 Jan 2024 17:15:06 +0200
3+
Date: Sat, 20 Jan 2024 23:34:21 +0200
44
Subject: [PATCH] create a single shared object
55

66
---
77
Makefile | 5 -----
8-
Makefile.install | 11 -----------
8+
Makefile.install | 15 ---------------
99
Makefile.system | 3 +++
1010
exports/Makefile | 4 ++--
11-
4 files changed, 5 insertions(+), 18 deletions(-)
11+
4 files changed, 5 insertions(+), 22 deletions(-)
1212

1313
diff --git a/Makefile b/Makefile
1414
index 8621a8b3f..0febfd0a6 100644
@@ -33,10 +33,10 @@ index 8621a8b3f..0febfd0a6 100644
3333
ifeq ($(OSNAME), WINNT)
3434
@$(MAKE) -C exports dll
3535
diff --git a/Makefile.install b/Makefile.install
36-
index 01899b970..7dee121c1 100644
36+
index 01899b970..105bc4271 100644
3737
--- a/Makefile.install
3838
+++ b/Makefile.install
39-
@@ -90,30 +90,22 @@ endif
39+
@@ -90,30 +90,20 @@ endif
4040
ifneq ($(NO_STATIC),1)
4141
@echo Copying the static library to $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)
4242
@install -m644 $(LIBNAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)"
@@ -55,29 +55,30 @@ index 01899b970..7dee121c1 100644
5555

5656
ifeq ($(OSNAME), $(filter $(OSNAME),OpenBSD NetBSD))
5757
@cp $(LIBSONAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)"
58-
@cd "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" ; \
58+
- @cd "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" ; \
5959
- ln -fs $(LIBSONAME) $(LIBPREFIX).so
6060
endif
6161
ifeq ($(OSNAME), Darwin)
6262
@-cp $(LIBDYNNAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)"
6363
@-install_name_tool -id "$(OPENBLAS_LIBRARY_DIR)/$(LIBPREFIX).$(MAJOR_VERSION).dylib" "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)/$(LIBDYNNAME)"
64-
@cd "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" ; \
64+
- @cd "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" ; \
6565
- ln -fs $(LIBDYNNAME) $(LIBPREFIX).dylib ; \
6666
- ln -fs $(LIBDYNNAME) $(LIBPREFIX).$(MAJOR_VERSION).dylib
6767
endif
6868
ifeq ($(OSNAME), WINNT)
6969
@-cp $(LIBDLLNAME) "$(DESTDIR)$(OPENBLAS_BINARY_DIR)"
70-
@@ -141,15 +133,12 @@ ifneq ($(NO_STATIC),1)
70+
@@ -140,16 +130,11 @@ endif
71+
ifneq ($(NO_STATIC),1)
7172
@echo Copying the static library to $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)
7273
@installbsd -c -m 644 $(LIBNAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)"
73-
@cd "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" ; \
74+
- @cd "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" ; \
7475
- ln -fs $(LIBNAME) $(LIBPREFIX).$(LIBSUFFIX)
7576
endif
7677
#for install shared library
7778
ifneq ($(NO_SHARED),1)
7879
@echo Copying the shared library to $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)
7980
@installbsd -c -m 755 $(LIBSONAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)"
80-
@cd "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" ; \
81+
- @cd "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" ; \
8182
- ln -fs $(LIBSONAME) $(LIBPREFIX).so ; \
8283
- ln -fs $(LIBSONAME) $(LIBPREFIX).so.$(MAJOR_VERSION)
8384
endif

0 commit comments

Comments
 (0)