From owner-svn-ports-all@freebsd.org Thu Jan 12 18:01:57 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9DC3CCAD94E; Thu, 12 Jan 2017 18:01:57 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 54D0E18EC; Thu, 12 Jan 2017 18:01:57 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0CI1uBC088447; Thu, 12 Jan 2017 18:01:56 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0CI1uGu088446; Thu, 12 Jan 2017 18:01:56 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <201701121801.v0CI1uGu088446@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Thu, 12 Jan 2017 18:01:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r431292 - in head/lang/julia: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2017 18:01:57 -0000 Author: lwhsu Date: Thu Jan 12 18:01:56 2017 New Revision: 431292 URL: https://svnweb.freebsd.org/changeset/ports/431292 Log: Enable i386 build PR: 215997 Submitted by: Iblis Lin (maintainer) Added: head/lang/julia/files/extra-patch-ui_Makefile (contents, props changed) Modified: head/lang/julia/Makefile Modified: head/lang/julia/Makefile ============================================================================== --- head/lang/julia/Makefile Thu Jan 12 17:48:35 2017 (r431291) +++ head/lang/julia/Makefile Thu Jan 12 18:01:56 2017 (r431292) @@ -25,7 +25,7 @@ BUILD_DEPENDS= llvm-config38:devel/llvm3 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 Added: head/lang/julia/files/extra-patch-ui_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/julia/files/extra-patch-ui_Makefile Thu Jan 12 18:01:56 2017 (r431292) @@ -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