View | Details | Raw Unified | Return to bug 215997
Collapse All | Expand All

(-)b/lang/julia/Makefile (-1 / +7 lines)
Lines 25-31 BUILD_DEPENDS= llvm-config38:devel/llvm38 \ Link Here
25
		pcre2-config:devel/pcre2 \
25
		pcre2-config:devel/pcre2 \
26
		patchelf:sysutils/patchelf
26
		patchelf:sysutils/patchelf
27
27
28
ONLY_FOR_ARCHS=	amd64
28
ONLY_FOR_ARCHS=	amd64 i386
29
29
30
USES=		gmake compiler:c++11-lib fortran
30
USES=		gmake compiler:c++11-lib fortran
31
USE_LDCONFIG=	yes
31
USE_LDCONFIG=	yes
Lines 71-81 MAKE_ARGS+= JULIA_CPU_TARGET=native Link Here
71
.else
71
.else
72
.if ${ARCH} == "amd64"
72
.if ${ARCH} == "amd64"
73
MAKE_ARGS+=	JULIA_CPU_TARGET=x86-64
73
MAKE_ARGS+=	JULIA_CPU_TARGET=x86-64
74
.elif ${ARCH} == "i386"
75
MAKE_ARGS+=	JULIA_CPU_TARGET=pentium4
74
.else
76
.else
75
MAKE_ARGS+=	JULIA_CPU_TARGET=generic
77
MAKE_ARGS+=	JULIA_CPU_TARGET=generic
76
.endif
78
.endif
77
.endif
79
.endif
78
80
81
.if ${ARCH} == "i386"
82
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-ui_Makefile
83
.endif
84
79
post-configure:
85
post-configure:
80
	${CC} ${CFLAGS} -lopenblas ${LDFLAGS} -o ${WRKSRC}/check_openblas \
86
	${CC} ${CFLAGS} -lopenblas ${LDFLAGS} -o ${WRKSRC}/check_openblas \
81
		${FILESDIR}/check_openblas.c
87
		${FILESDIR}/check_openblas.c
(-)b/files/extra-patch-ui_Makefile (+11 lines)
Added Link Here
1
--- ui/Makefile.orig	2016-09-20 02:54:22 UTC
2
+++ ui/Makefile
3
@@ -14,7 +14,7 @@ SRCS := repl
4
 HEADERS := $(addprefix $(JULIAHOME)/src/,julia.h julia_threads.h julia_internal.h options.h) \
5
 	$(BUILDDIR)/../src/julia_version.h $(wildcard $(JULIAHOME)/src/support/*.h) $(LIBUV_INC)/uv.h
6
 
7
-FLAGS := -I$(BUILDROOT)/src -I$(JULIAHOME)/src -I$(JULIAHOME)/src/support -I$(build_includedir)
8
+FLAGS := -I$(BUILDROOT)/src -I$(JULIAHOME)/src -I$(JULIAHOME)/src/support -I$(build_includedir) -latomic
9
 ifneq ($(USEMSVC), 1)
10
 FLAGS += -Wall -Wno-strict-aliasing -fno-omit-frame-pointer -Wc++-compat
11
 endif

Return to bug 215997