Lines 1-5
Link Here
|
1 |
PORTNAME= libcxx |
1 |
PORTNAME= libcxx |
2 |
DISTVERSION= 13.0.0 |
2 |
DISTVERSION= 13.0.0 |
|
|
3 |
PORTREVISION= 1 |
3 |
CATEGORIES= devel lang |
4 |
CATEGORIES= devel lang |
4 |
MASTER_SITES= https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/ \ |
5 |
MASTER_SITES= https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/ \ |
5 |
https://${PRE_}releases.llvm.org/${LLVM_RELEASE}/${RCDIR} |
6 |
https://${PRE_}releases.llvm.org/${LLVM_RELEASE}/${RCDIR} |
Lines 30-35
LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX}
Link Here
|
30 |
WASI_SYSROOT= ${LOCALBASE}/share/wasi-sysroot |
31 |
WASI_SYSROOT= ${LOCALBASE}/share/wasi-sysroot |
31 |
WRKSRC= ${WRKDIR}/${DISTNAME}/libcxx |
32 |
WRKSRC= ${WRKDIR}/${DISTNAME}/libcxx |
32 |
|
33 |
|
|
|
34 |
CONFIGURE_ENV+= CC="${CC}" CFLAGS="${CFLAGS}" |
35 |
CONFIGURE_ENV+= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" |
36 |
|
33 |
CMAKE_INSTALL_PREFIX= ${PREFIX}/share/wasi-sysroot |
37 |
CMAKE_INSTALL_PREFIX= ${PREFIX}/share/wasi-sysroot |
34 |
CMAKE_ARGS= -DCMAKE_C_COMPILER_WORKS=1 \ |
38 |
CMAKE_ARGS= -DCMAKE_C_COMPILER_WORKS=1 \ |
35 |
-DCMAKE_CXX_COMPILER_WORKS=1 \ |
39 |
-DCMAKE_CXX_COMPILER_WORKS=1 \ |
Lines 63-69
CMAKE_ARGS= -DCMAKE_C_COMPILER_WORKS=1 \
Link Here
|
63 |
-DLIBCXXABI_HAS_EXTERNAL_THREAD_API:BOOL=OFF \ |
67 |
-DLIBCXXABI_HAS_EXTERNAL_THREAD_API:BOOL=OFF \ |
64 |
-DLIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY:BOOL=OFF \ |
68 |
-DLIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY:BOOL=OFF \ |
65 |
-DLIBCXXABI_HAS_WIN32_THREAD_API:BOOL=OFF \ |
69 |
-DLIBCXXABI_HAS_WIN32_THREAD_API:BOOL=OFF \ |
66 |
-DLIBCXXABI_LIBCXX_INCLUDES=${CONFIGURE_WRKSRC}/include/c++/v1 |
70 |
-DLIBCXXABI_LIBCXX_INCLUDES=${CONFIGURE_WRKSRC}/include/c++/v1 \ |
|
|
71 |
-DLIBCXX_SUPPORTS_FNO_EXCEPTIONS_FLAG:BOOL=ON \ |
72 |
-DLIBCXX_SUPPORTS_NOSTDLIBXX_FLAG:BOOL=ON \ |
73 |
-DLIBCXX_SUPPORTS_NODEFAULTLIBS_FLAG:BOOL=ON \ |
74 |
-DLIBCXX_HAS_COMMENT_LIB_PRAGMA:BOOL=ON \ |
75 |
-DLIBCXX_SUPPORTS_FALIGNED_ALLOCATION_FLAG:BOOL=ON \ |
76 |
-DLIBCXX_SUPPORTS_NOSTDINCXX_FLAG:BOOL=ON \ |
77 |
-DLIBCXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG:BOOL=ON \ |
78 |
-DLIBCXX_SUPPORTS_FVISIBILITY_EQ_HIDDEN_FLAG:BOOL=ON \ |
79 |
-DLIBCXX_SUPPORTS_WALL_FLAG:BOOL=ON \ |
80 |
-DLIBCXX_SUPPORTS_WEXTRA_FLAG:BOOL=ON \ |
81 |
-DLIBCXX_SUPPORTS_W_FLAG:BOOL=ON \ |
82 |
-DLIBCXX_SUPPORTS_WWRITE_STRINGS_FLAG:BOOL=ON \ |
83 |
-DLIBCXX_SUPPORTS_WNO_UNUSED_PARAMETER_FLAG:BOOL=ON \ |
84 |
-DLIBCXX_SUPPORTS_WNO_LONG_LONG_FLAG:BOOL=ON \ |
85 |
-DLIBCXX_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG:BOOL=ON \ |
86 |
-DLIBCXX_SUPPORTS_WEXTRA_SEMI_FLAG:BOOL=ON \ |
87 |
-DLIBCXX_SUPPORTS_WUNDEF_FLAG:BOOL=ON \ |
88 |
-DLIBCXX_SUPPORTS_WNO_USER_DEFINED_LITERALS_FLAG:BOOL=ON \ |
89 |
-DLIBCXX_SUPPORTS_WNO_COVERED_SWITCH_DEFAULT_FLAG:BOOL=ON \ |
90 |
-DLIBCXX_SUPPORTS_WNO_SUGGEST_OVERRIDE_FLAG:BOOL=ON \ |
91 |
-DLIBCXX_SUPPORTS_WNO_IGNORED_ATTRIBUTES_FLAG:BOOL=ON \ |
92 |
-DLIBCXX_SUPPORTS_WNO_ERROR_FLAG:BOOL=ON \ |
93 |
-DLIBCXX_SUPPORTS_EHS_FLAG:BOOL=OFF \ |
94 |
-DLIBCXX_SUPPORTS_EHA_FLAG:BOOL=OFF \ |
95 |
-DLIBCXX_SUPPORTS_ZL_FLAG:BOOL=OFF \ |
96 |
-DLIBCXX_SUPPORTS_NODEFAULTLIB_FLAG:BOOL=ON \ |
97 |
-DLIBCXXABI_SUPPORTS_FNO_EXCEPTIONS_FLAG:BOOL=ON \ |
98 |
-DLIBCXXABI_SUPPORTS_NOSTDLIBXX_FLAG:BOOL=ON \ |
99 |
-DLIBCXXABI_SUPPORTS_NODEFAULTLIBS_FLAG:BOOL=ON \ |
100 |
-DLIBCXXABI_HAS_COMMENT_LIB_PRAGMA:BOOL=ON \ |
101 |
-DLIBCXXABI_SUPPORTS_FALIGNED_ALLOCATION_FLAG:BOOL=ON \ |
102 |
-DLIBCXXABI_SUPPORTS_NOSTDINCXX_FLAG:BOOL=ON \ |
103 |
-DLIBCXXABI_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG:BOOL=ON \ |
104 |
-DLIBCXXABI_SUPPORTS_FVISIBILITY_EQ_HIDDEN_FLAG:BOOL=ON \ |
105 |
-DLIBCXXABI_SUPPORTS_WALL_FLAG:BOOL=ON \ |
106 |
-DLIBCXXABI_SUPPORTS_WEXTRA_FLAG:BOOL=ON \ |
107 |
-DLIBCXXABI_SUPPORTS_W_FLAG:BOOL=ON \ |
108 |
-DLIBCXXABI_SUPPORTS_WWRITE_STRINGS_FLAG:BOOL=ON \ |
109 |
-DLIBCXXABI_SUPPORTS_WNO_UNUSED_PARAMETER_FLAG:BOOL=ON \ |
110 |
-DLIBCXXABI_SUPPORTS_WNO_LONG_LONG_FLAG:BOOL=ON \ |
111 |
-DLIBCXXABI_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG:BOOL=ON \ |
112 |
-DLIBCXXABI_SUPPORTS_WEXTRA_SEMI_FLAG:BOOL=ON \ |
113 |
-DLIBCXXABI_SUPPORTS_WUNDEF_FLAG:BOOL=ON \ |
114 |
-DLIBCXXABI_SUPPORTS_WNO_USER_DEFINED_LITERALS_FLAG:BOOL=ON \ |
115 |
-DLIBCXXABI_SUPPORTS_WNO_COVERED_SWITCH_DEFAULT_FLAG:BOOL=ON \ |
116 |
-DLIBCXXABI_SUPPORTS_WNO_SUGGEST_OVERRIDE_FLAG:BOOL=ON \ |
117 |
-DLIBCXXABI_SUPPORTS_WNO_IGNORED_ATTRIBUTES_FLAG:BOOL=ON \ |
118 |
-DLIBCXXABI_SUPPORTS_WNO_ERROR_FLAG:BOOL=ON \ |
119 |
-DLIBCXXABI_SUPPORTS_EHS_FLAG:BOOL=OFF \ |
120 |
-DLIBCXXABI_SUPPORTS_EHA_FLAG:BOOL=OFF \ |
121 |
-DLIBCXXABI_SUPPORTS_ZL_FLAG:BOOL=OFF \ |
122 |
-DLIBCXXABI_SUPPORTS_NODEFAULTLIB_FLAG:BOOL=ON \ |
123 |
-DLIBCXXABI_SUPPORTS_WCHAR_SUBSCRIPTS_FLAG:BOOL=ON \ |
124 |
-DLIBCXXABI_SUPPORTS_WCONVERSION_FLAG:BOOL=ON \ |
125 |
-DLIBCXXABI_SUPPORTS_WMISMATCHED_TAGS_FLAG:BOOL=ON \ |
126 |
-DLIBCXXABI_SUPPORTS_WMISSING_BRACES_FLAG:BOOL=ON \ |
127 |
-DLIBCXXABI_SUPPORTS_WNEWLINE_EOF_FLAG:BOOL=ON \ |
128 |
-DLIBCXXABI_SUPPORTS_WUNUSED_FUNCTION_FLAG:BOOL=ON \ |
129 |
-DLIBCXXABI_SUPPORTS_WSHADOW_FLAG:BOOL=ON \ |
130 |
-DLIBCXXABI_SUPPORTS_WSHORTEN_64_TO_32_FLAG:BOOL=ON \ |
131 |
-DLIBCXXABI_SUPPORTS_WSIGN_COMPARE_FLAG:BOOL=ON \ |
132 |
-DLIBCXXABI_SUPPORTS_WSIGN_CONVERSION_FLAG:BOOL=ON \ |
133 |
-DLIBCXXABI_SUPPORTS_WSTRICT_ALIASING_EQ_2_FLAG:BOOL=ON \ |
134 |
-DLIBCXXABI_SUPPORTS_WSTRICT_OVERFLOW_EQ_4_FLAG:BOOL=ON \ |
135 |
-DLIBCXXABI_SUPPORTS_WUNUSED_PARAMETER_FLAG:BOOL=ON \ |
136 |
-DLIBCXXABI_SUPPORTS_WUNUSED_VARIABLE_FLAG:BOOL=ON \ |
137 |
-DLIBCXXABI_SUPPORTS_WX_FLAG:BOOL=ON \ |
138 |
-DLIBCXXABI_SUPPORTS_PEDANTIC_FLAG:BOOL=ON \ |
139 |
-DLIBCXXABI_SUPPORTS_FSTRICT_ALIASING_FLAG:BOOL=ON |
67 |
|
140 |
|
68 |
post-extract: |
141 |
post-extract: |
69 |
@${MKDIR} ${WRKDIR}/.build_cxxabi |
142 |
@${MKDIR} ${WRKDIR}/.build_cxxabi |