aboutsummaryrefslogtreecommitdiff
path: root/ports/kf5syntaxhighlighting
diff options
context:
space:
mode:
authorDawid Wróbel <me@dawidwrobel.com>2021-09-17 17:20:35 +0200
committerGitHub <noreply@github.com>2021-09-17 08:20:35 -0700
commit8a943f71ffb6d99ac8800b71172d4eff2d0c6df4 (patch)
tree93d6541c3b6b789c981c29bfbf763f0fe995370f /ports/kf5syntaxhighlighting
parent6edc46f862f9931d174ffbd45fb07f8df3edf040 (diff)
downloadvcpkg-8a943f71ffb6d99ac8800b71172d4eff2d0c6df4.tar.gz
vcpkg-8a943f71ffb6d99ac8800b71172d4eff2d0c6df4.zip
[kf5*] re-enable parallel configure, speed up compilation (#20202)
* [kf5*] re-enable parallel configure * [kf5*] update versions
Diffstat (limited to 'ports/kf5syntaxhighlighting')
-rw-r--r--ports/kf5syntaxhighlighting/portfile.cmake4
-rw-r--r--ports/kf5syntaxhighlighting/vcpkg.json2
2 files changed, 4 insertions, 2 deletions
diff --git a/ports/kf5syntaxhighlighting/portfile.cmake b/ports/kf5syntaxhighlighting/portfile.cmake
index 1453c26d8..9003e60f5 100644
--- a/ports/kf5syntaxhighlighting/portfile.cmake
+++ b/ports/kf5syntaxhighlighting/portfile.cmake
@@ -10,8 +10,10 @@ vcpkg_find_acquire_program(PERL)
get_filename_component(PERL_EXE_PATH ${PERL} DIRECTORY)
vcpkg_add_to_path("${PERL_EXE_PATH}")
+# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
+file(WRITE ${SOURCE_PATH}/.clang-format "DisableFormat: true\nSortIncludes: false\n")
+
vcpkg_configure_cmake(
- DISABLE_PARALLEL_CONFIGURE
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
diff --git a/ports/kf5syntaxhighlighting/vcpkg.json b/ports/kf5syntaxhighlighting/vcpkg.json
index 5c4cb98a7..d50b0e713 100644
--- a/ports/kf5syntaxhighlighting/vcpkg.json
+++ b/ports/kf5syntaxhighlighting/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "kf5syntaxhighlighting",
"version": "5.84.0",
- "port-version": 1,
+ "port-version": 2,
"description": "Syntax highlighting engine for Kate syntax definitions",
"homepage": "https://github.com/KDE/syntax-highlighting",
"dependencies": [