FreeBSD Bugzilla – Attachment 178793 Details for
Bug 215997
lang/julia: patch for building on i386
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to allow building on i386
j.patch (text/plain), 1.59 KB, created by
Iblis Lin
on 2017-01-12 14:59:19 UTC
(
hide
)
Description:
patch to allow building on i386
Filename:
MIME Type:
Creator:
Iblis Lin
Created:
2017-01-12 14:59:19 UTC
Size:
1.59 KB
patch
obsolete
>diff --git a/lang/julia/Makefile b/lang/julia/Makefile >index dddee8c25cf4..14dc83d3cdd8 100644 >--- a/lang/julia/Makefile >+++ b/lang/julia/Makefile >@@ -25,7 +25,7 @@ BUILD_DEPENDS= llvm-config38:devel/llvm38 \ > pcre2-config:devel/pcre2 \ > patchelf:sysutils/patchelf > >-ONLY_FOR_ARCHS= amd64 >+ONLY_FOR_ARCHS= amd64 i386 > > USES= gmake compiler:c++11-lib fortran > USE_LDCONFIG= yes >@@ -71,11 +71,17 @@ MAKE_ARGS+= JULIA_CPU_TARGET=native > .else > .if ${ARCH} == "amd64" > MAKE_ARGS+= JULIA_CPU_TARGET=x86-64 >+.elif ${ARCH} == "i386" >+MAKE_ARGS+= JULIA_CPU_TARGET=pentium4 > .else > MAKE_ARGS+= JULIA_CPU_TARGET=generic > .endif > .endif > >+.if ${ARCH} == "i386" >+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ui_Makefile >+.endif >+ > post-configure: > ${CC} ${CFLAGS} -lopenblas ${LDFLAGS} -o ${WRKSRC}/check_openblas \ > ${FILESDIR}/check_openblas.c >diff --git a/files/extra-patch-ui_Makefile b/files/extra-patch-ui_Makefile >new file mode 100644 >index 0000000..2c3a834 >--- /dev/null >+++ b/files/extra-patch-ui_Makefile >@@ -0,0 +1,11 @@ >+--- ui/Makefile.orig 2016-09-20 02:54:22 UTC >++++ ui/Makefile >+@@ -14,7 +14,7 @@ SRCS := repl >+ HEADERS := $(addprefix $(JULIAHOME)/src/,julia.h julia_threads.h julia_internal.h options.h) \ >+ $(BUILDDIR)/../src/julia_version.h $(wildcard $(JULIAHOME)/src/support/*.h) $(LIBUV_INC)/uv.h >+ >+-FLAGS := -I$(BUILDROOT)/src -I$(JULIAHOME)/src -I$(JULIAHOME)/src/support -I$(build_includedir) >++FLAGS := -I$(BUILDROOT)/src -I$(JULIAHOME)/src -I$(JULIAHOME)/src/support -I$(build_includedir) -latomic >+ ifneq ($(USEMSVC), 1) >+ FLAGS += -Wall -Wno-strict-aliasing -fno-omit-frame-pointer -Wc++-compat >+ endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 215997
: 178793