Skip to content

Commit 8243ff7

Browse files
author
xwei19
committed
Update install_boost and bump yscope-dev-utils version
1 parent d3fc980 commit 8243ff7

File tree

2 files changed

+15
-35
lines changed

2 files changed

+15
-35
lines changed

taskfiles/deps.yaml

Lines changed: 14 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -69,42 +69,22 @@ tasks:
6969
NAME: "{{.G_CATCH2_LIB_NAME}}"
7070
INSTALL_PREFIX: "{{.G_CATCH2_WORK_DIR}}/{{.G_CATCH2_LIB_NAME}}-install"
7171

72-
install-outcome:
72+
install-boost:
7373
internal: true
7474
run: "once"
75-
deps:
76-
- "install-quickcpplib"
7775
cmds:
78-
- task: ":utils:cmake-install-remote-tar"
79-
vars:
80-
NAME: "{{.G_OUTCOME_LIB_NAME}}"
81-
WORK_DIR: "{{.G_OUTCOME_WORK_DIR}}"
82-
FILE_SHA256: "0382248cbb00806ce4b5f3ce6939797dc3b597c85fd3531614959e31ef488b39"
83-
URL: "https://github.com/ned14/outcome/archive/refs/tags/v2.2.11.tar.gz"
84-
GEN_ARGS:
85-
- "-C {{.G_DEPS_CMAKE_SETTINGS_DIR}}/{{.G_QUICKCPPLIB_LIB_NAME}}.cmake"
86-
- "-DBUILD_TESTING=OFF"
87-
- "-DCMAKE_BUILD_TYPE=Release"
88-
- "-DCMAKE_POLICY_DEFAULT_CMP0074=NEW"
89-
- task: "add-package-root-to-cmake-settings"
76+
- task: "boost-download-and-install"
9077
vars:
91-
NAME: "{{.G_OUTCOME_LIB_NAME}}"
92-
INSTALL_PREFIX: "{{.G_OUTCOME_WORK_DIR}}/{{.G_OUTCOME_LIB_NAME}}-install"
78+
WORK_DIR: "{{.G_DEPS_DIR}}/boost"
79+
FILE_SHA256: "2128a4c96862b5c0970c1e34d76b1d57e4a1016b80df85ad39667f30b1deba26"
80+
URL: "https://github.com/boostorg/boost/releases/download/boost-1.86.0/\
81+
boost-1.86.0-b2-nodocs.tar.gz"
82+
CMAKE_SETTINGS_DIR: "{{.G_DEPS_CMAKE_SETTINGS_DIR}}"
83+
TARGETS:
84+
- "filesystem"
85+
- "iostreams"
86+
- "process"
87+
- "program_options"
88+
- "regex"
89+
- "system"
9390

94-
install-quickcpplib:
95-
internal: true
96-
run: "once"
97-
cmds:
98-
- task: ":utils:cmake-install-remote-tar"
99-
vars:
100-
NAME: "{{.G_QUICKCPPLIB_LIB_NAME}}"
101-
WORK_DIR: "{{.G_QUICKCPPLIB_WORK_DIR}}"
102-
FILE_SHA256: "5d4c9b2d6fa177d3fb14f3fe3086867e43b44f4a7a944eb10ee4616b2b0f3c05"
103-
URL: "https://github.com/ned14/quickcpplib/archive/f3e452e.tar.gz"
104-
GEN_ARGS:
105-
- "-DBUILD_TESTING=OFF"
106-
- "-DCMAKE_BUILD_TYPE=Release"
107-
- task: "add-package-root-to-cmake-settings"
108-
vars:
109-
NAME: "{{.G_QUICKCPPLIB_LIB_NAME}}"
110-
INSTALL_PREFIX: "{{.G_QUICKCPPLIB_WORK_DIR}}/{{.G_QUICKCPPLIB_LIB_NAME}}-install"

0 commit comments

Comments
 (0)