Skip to content

Commit 40caaef

Browse files
authored
Merge pull request #3265 from TAAPArthur/improve_portability
Removed use of non portable '-p' arg to install
2 parents 25b602d + 7fb6e57 commit 40caaef

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Makefile.install

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,25 +74,25 @@ endif
7474
ifneq ($(OSNAME), AIX)
7575
ifndef NO_LAPACKE
7676
@echo Copying LAPACKE header files to $(DESTDIR)$(OPENBLAS_INCLUDE_DIR)
77-
@-install -pm644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapack.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapack.h"
78-
@-install -pm644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke.h"
79-
@-install -pm644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke_config.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke_config.h"
80-
@-install -pm644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke_mangling_with_flags.h.in "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke_mangling.h"
81-
@-install -pm644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke_utils.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke_utils.h"
77+
@-install -m644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapack.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapack.h"
78+
@-install -m644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke.h"
79+
@-install -m644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke_config.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke_config.h"
80+
@-install -m644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke_mangling_with_flags.h.in "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke_mangling.h"
81+
@-install -m644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke_utils.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke_utils.h"
8282
endif
8383

8484
#for install static library
8585
ifneq ($(NO_STATIC),1)
8686
@echo Copying the static library to $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)
87-
@install -pm644 $(LIBNAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)"
87+
@install -m644 $(LIBNAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)"
8888
@cd "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" ; \
8989
ln -fs $(LIBNAME) $(LIBPREFIX).$(LIBSUFFIX)
9090
endif
9191
#for install shared library
9292
ifneq ($(NO_SHARED),1)
9393
@echo Copying the shared library to $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)
9494
ifeq ($(OSNAME), $(filter $(OSNAME),Linux SunOS Android Haiku FreeBSD DragonFly))
95-
@install -pm755 $(LIBSONAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)"
95+
@install -m755 $(LIBSONAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)"
9696
@cd "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" ; \
9797
ln -fs $(LIBSONAME) $(LIBPREFIX).so ; \
9898
ln -fs $(LIBSONAME) $(LIBPREFIX).so.$(MAJOR_VERSION)

0 commit comments

Comments
 (0)