mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-05-23 00:04:02 +02:00
update ada-url to v3.2.1
This commit is contained in:
parent
4e4604e00a
commit
885996c5cf
3 changed files with 6 additions and 3 deletions
|
@ -807,12 +807,13 @@ RUN cmake --build out --config Debug --parallel \
|
|||
{%- endif %}
|
||||
|
||||
FROM builder AS ada
|
||||
RUN git clone -b v2.9.0 --depth=1 {{ GIT }}/ada-url/ada.git \
|
||||
RUN git clone -b v3.2.1 --depth=1 {{ GIT }}/ada-url/ada.git \
|
||||
&& cd ada \
|
||||
&& cmake -GNinja -B build . \
|
||||
-D CMAKE_BUILD_TYPE=None \
|
||||
-D ADA_TESTING=OFF \
|
||||
-D ADA_TOOLS=OFF \
|
||||
-D ADA_INCLUDE_URL_PATTERN=OFF \
|
||||
&& cmake --build build --parallel \
|
||||
&& DESTDIR="{{ LibrariesPath }}/ada-cache" cmake --install build \
|
||||
&& cd .. \
|
||||
|
|
|
@ -1864,13 +1864,14 @@ release:
|
|||
""")
|
||||
|
||||
stage('ada', """
|
||||
git clone -b v2.9.0 https://github.com/ada-url/ada.git
|
||||
git clone -b 3.2.1 https://github.com/ada-url/ada.git
|
||||
cd ada
|
||||
win:
|
||||
cmake -B out . ^
|
||||
-A %WIN32X64% ^
|
||||
-D ADA_TESTING=OFF ^
|
||||
-D ADA_TOOLS=OFF ^
|
||||
-D ADA_INCLUDE_URL_PATTERN=OFF ^
|
||||
-D CMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded$<$<CONFIG:Debug>:Debug>" ^
|
||||
-D CMAKE_C_FLAGS_DEBUG="/MTd /Zi /Ob0 /Od /RTC1" ^
|
||||
-D CMAKE_C_FLAGS_RELEASE="/MT /O2 /Ob2 /DNDEBUG"
|
||||
|
|
|
@ -218,7 +218,7 @@ parts:
|
|||
ada:
|
||||
source: https://github.com/ada-url/ada.git
|
||||
source-depth: 1
|
||||
source-tag: v2.9.0
|
||||
source-tag: v3.2.1
|
||||
plugin: cmake
|
||||
build-environment:
|
||||
- LDFLAGS: ${LDFLAGS:+$LDFLAGS} -s
|
||||
|
@ -228,6 +228,7 @@ parts:
|
|||
- -DCMAKE_INSTALL_PREFIX=/usr
|
||||
- -DADA_TESTING=OFF
|
||||
- -DADA_TOOLS=OFF
|
||||
- -DADA_INCLUDE_URL_PATTERN=OFF
|
||||
prime:
|
||||
- -./usr/include
|
||||
- -./usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/cmake
|
||||
|
|
Loading…
Add table
Reference in a new issue