Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F133072271
D38284.id116069.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
938 B
Referenced Files
None
Subscribers
None
D38284.id116069.diff
View Options
Index: lang/zig/Makefile
===================================================================
--- lang/zig/Makefile
+++ lang/zig/Makefile
@@ -1,6 +1,6 @@
PORTNAME= zig
DISTVERSION= 0.10.1
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= lang
MASTER_SITES= https://ziglang.org/download/${DISTVERSION}/ \
https://ziglang.org/builds/
@@ -29,8 +29,8 @@
USES= cmake compiler:c++11-lang localbase:ldflags tar:xz
CMAKE_ON= THREADS_PREFER_PTHREAD_FLAG
-OPTIONS_DEFINE= DOCS STATIC
-OPTIONS_DEFAULT= DOCS
+OPTIONS_DEFINE= AVX DOCS STATIC
+OPTIONS_DEFAULT= AVX DOCS
STATIC_DESC= sets ZIG_STATIC to avoid 800MiB LLVM runtime dependency
@@ -38,6 +38,9 @@
STATIC_CMAKE_BOOL= CMAKE_SKIP_INSTALL_RPATH ZIG_STATIC
STATIC_LDFLAGS= -licudata -licuuc -llzma -lm -lmd -lxml2 -lz -lzstd
+AVX_CMAKE_BOOL_ON= ZIG_TARGET_CPU=x86_64-v2
+AVX_CMAKE_BOOL_OFF= ZIG_TARGET_CPU=x86_64-v1
+
_LLVM_VER= 15
_ZIG_BIN= ${STAGEDIR}${PREFIX}/bin/zig
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 23, 5:31 PM (16 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24096767
Default Alt Text
D38284.id116069.diff (938 B)
Attached To
Mode
D38284: lang/zig: force baseline instead of native compilation
Attached
Detach File
Event Timeline
Log In to Comment