Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
2f48c84
Add spider installation
sitaowang1998 Sep 4, 2025
de2d729
Merge branch 'main' of github.com:sitaowang1998/clp
sitaowang1998 Sep 8, 2025
c24c69f
Add basic pyproject setup
sitaowang1998 Sep 9, 2025
98767f0
Only install spider on linux
sitaowang1998 Sep 10, 2025
c27281f
Fix task platform
sitaowang1998 Sep 10, 2025
472c03e
Add into py lint
sitaowang1998 Sep 10, 2025
2091739
Bump spider version
sitaowang1998 Sep 11, 2025
4bb2f44
Set Python min to 3.10
sitaowang1998 Sep 11, 2025
55287f5
Merge branch 'main' of github.com:sitaowang1998/clp
sitaowang1998 Sep 11, 2025
d0811b3
Merge branch 'main' into spider-setup
sitaowang1998 Sep 11, 2025
f89c326
Fix deps. Wait on y-scope#1226 to formalize ystdlib
sitaowang1998 Sep 15, 2025
ac6549c
Add boost process
sitaowang1998 Sep 15, 2025
de3ece5
Fix ystdlib
sitaowang1998 Sep 15, 2025
d95230a
Merge branch 'main' into spider-setup
sitaowang1998 Sep 16, 2025
6f51763
Run spider-related dependency tasks only in ubuntu
sitaowang1998 Sep 16, 2025
0d29ffc
Use status to skip instead of preconditions to fail
sitaowang1998 Sep 16, 2025
fcc17e1
Bug fix
sitaowang1998 Sep 16, 2025
da67d9a
Update spider version
sitaowang1998 Sep 21, 2025
d5751df
Merge branch 'main' into spider-setup
sitaowang1998 Sep 21, 2025
8a33b1c
Fix pyproject
sitaowang1998 Sep 21, 2025
736e7f4
Fix selective build
sitaowang1998 Sep 23, 2025
660467d
Remove spider orchestration component
sitaowang1998 Sep 23, 2025
ab762ca
Rename deps:core to deps:cpp
sitaowang1998 Sep 23, 2025
8eb4ff9
Add spider build as spearate task
sitaowang1998 Sep 23, 2025
1f31d0c
Add spdier-py as job-orchestration dep
sitaowang1998 Sep 23, 2025
371da49
Update poetry lock
sitaowang1998 Sep 23, 2025
13d7de7
Fix python version
sitaowang1998 Sep 23, 2025
5bdd22f
Remove unnecessary lint
sitaowang1998 Sep 23, 2025
cd9b847
Fix spider-py version
sitaowang1998 Sep 24, 2025
9c3fd45
Fix var order
sitaowang1998 Sep 24, 2025
8fa7423
Remove var name
sitaowang1998 Sep 24, 2025
59cb8e9
Remove the PIC
sitaowang1998 Sep 24, 2025
531db6a
Move spider task into deps
sitaowang1998 Sep 24, 2025
47f5900
Change to DEB layout
sitaowang1998 Sep 24, 2025
aa9d952
Use precondition for spider; Improve test command
sitaowang1998 Sep 24, 2025
f5aaf4b
Remove spider from default deps
sitaowang1998 Sep 24, 2025
7e223ef
Update task name in doc
sitaowang1998 Sep 24, 2025
b2dc621
Add a section.
LinZhihao-723 Sep 24, 2025
d33c93a
Split into two dep task
sitaowang1998 Sep 24, 2025
ea5a7a9
Merge branch 'spider-setup' of github.com:sitaowang1998/clp into spid…
sitaowang1998 Sep 24, 2025
58aaa2d
Revert "Add a section."
sitaowang1998 Sep 24, 2025
56517e5
Revert "Update task name in doc"
sitaowang1998 Sep 24, 2025
46ff3ee
Revert to deps:core in GH workflows
sitaowang1998 Sep 24, 2025
dc443f0
Merge branch 'main' into spider-setup
sitaowang1998 Sep 24, 2025
748dd1a
Merge branch 'main' into spider-setup
sitaowang1998 Sep 24, 2025
98d6563
Fix comment - Apply suggestions from code review
sitaowang1998 Sep 24, 2025
95a66e7
Add deps:spider in ubuntu workflow
sitaowang1998 Sep 24, 2025
c8938d2
Merge branch 'main' into spider-setup
sitaowang1998 Sep 24, 2025
904e82b
Move deps:spider from workflow to package task
sitaowang1998 Sep 24, 2025
97c0a6c
Add spider binary package
sitaowang1998 Sep 24, 2025
cfbba25
Merge branch 'main' into spider-setup
LinZhihao-723 Sep 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/clp-artifact-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ jobs:
${{needs.filter-relevant-changes.outputs.centos_stream_9_image_changed == 'false'
|| (github.event_name != 'pull_request' && github.ref == 'refs/heads/main')}}
run_command: >-
CLP_CORE_MAX_PARALLELISM_PER_BUILD_TASK=$(getconf _NPROCESSORS_ONLN) task deps:core
CLP_CPP_MAX_PARALLELISM_PER_BUILD_TASK=$(getconf _NPROCESSORS_ONLN) task deps:core
&& python3 /mnt/repo/components/core/tools/scripts/utils/build-and-run-unit-tests.py
${{matrix.use_shared_libs == true && '--use-shared-libs' || ''}}
--source-dir /mnt/repo/components/core
Expand Down Expand Up @@ -271,7 +271,7 @@ jobs:
${{needs.filter-relevant-changes.outputs.manylinux_2_28_x86_64_image_changed == 'false'
|| (github.event_name != 'pull_request' && github.ref == 'refs/heads/main')}}
run_command: >-
CLP_CORE_MAX_PARALLELISM_PER_BUILD_TASK=$(getconf _NPROCESSORS_ONLN) task deps:core
CLP_CPP_MAX_PARALLELISM_PER_BUILD_TASK=$(getconf _NPROCESSORS_ONLN) task deps:core
&& python3 /mnt/repo/components/core/tools/scripts/utils/build-and-run-unit-tests.py
${{matrix.use_shared_libs == true && '--use-shared-libs' || ''}}
--source-dir /mnt/repo/components/core
Expand Down Expand Up @@ -311,7 +311,7 @@ jobs:
${{needs.filter-relevant-changes.outputs.musllinux_1_2_x86_64_image_changed == 'false'
|| (github.event_name != 'pull_request' && github.ref == 'refs/heads/main')}}
run_command: >-
CLP_CORE_MAX_PARALLELISM_PER_BUILD_TASK=$(getconf _NPROCESSORS_ONLN) task deps:core
CLP_CPP_MAX_PARALLELISM_PER_BUILD_TASK=$(getconf _NPROCESSORS_ONLN) task deps:core
&& python3 /mnt/repo/components/core/tools/scripts/utils/build-and-run-unit-tests.py
${{matrix.use_shared_libs == true && '--use-shared-libs' || ''}}
--source-dir /mnt/repo/components/core
Expand Down Expand Up @@ -354,7 +354,7 @@ jobs:
${{needs.filter-relevant-changes.outputs.ubuntu_jammy_image_changed == 'false'
|| (github.event_name != 'pull_request' && github.ref == 'refs/heads/main')}}
run_command: >-
CLP_CORE_MAX_PARALLELISM_PER_BUILD_TASK=$(getconf _NPROCESSORS_ONLN) task deps:core
CLP_CPP_MAX_PARALLELISM_PER_BUILD_TASK=$(getconf _NPROCESSORS_ONLN) task deps:core
&& python3 /mnt/repo/components/core/tools/scripts/utils/build-and-run-unit-tests.py
${{matrix.use_shared_libs == true && '--use-shared-libs' || ''}}
--source-dir /mnt/repo/components/core
Expand Down Expand Up @@ -490,7 +490,7 @@ jobs:
# TODO: We set HOME due to permission issues inside the container used in run-on-image.
# See: https://github.com/y-scope/clp/issues/1145
run_command: >-
CLP_CORE_MAX_PARALLELISM_PER_BUILD_TASK=$(getconf _NPROCESSORS_ONLN)
CLP_CPP_MAX_PARALLELISM_PER_BUILD_TASK=$(getconf _NPROCESSORS_ONLN)
HOME=/tmp
task lint:check-cpp-full

Expand Down Expand Up @@ -537,7 +537,7 @@ jobs:
${{needs.filter-relevant-changes.outputs.ubuntu_jammy_image_changed == 'false'
|| (github.event_name != 'pull_request' && github.ref == 'refs/heads/main')}}
run_command: >-
CLP_CORE_MAX_PARALLELISM_PER_BUILD_TASK=$(getconf _NPROCESSORS_ONLN) task package
CLP_CPP_MAX_PARALLELISM_PER_BUILD_TASK=$(getconf _NPROCESSORS_ONLN) task package

- uses: "./.github/actions/clp-build-runtime-image"
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/clp-core-build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
- run: "./tools/scripts/deps-download/init.sh"
shell: "bash"

- run: "CLP_CORE_MAX_PARALLELISM_PER_BUILD_TASK=$(getconf _NPROCESSORS_ONLN) task deps:core"
- run: "CLP_CPP_MAX_PARALLELISM_PER_BUILD_TASK=$(getconf _NPROCESSORS_ONLN) task deps:core"
shell: "bash"

- name: "Build CLP-core and run unit tests"
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
# - run: >-
# task lint:check-cpp-${{(github.event_name == 'schedule') && 'full' || 'diff'}}
- run: >-
CLP_CORE_MAX_PARALLELISM_PER_BUILD_TASK=$(getconf _NPROCESSORS_ONLN)
CLP_CPP_MAX_PARALLELISM_PER_BUILD_TASK=$(getconf _NPROCESSORS_ONLN)
task lint:check-cpp-full
shell: "bash"

Expand Down
2 changes: 1 addition & 1 deletion components/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ if(PROJECT_IS_TOP_LEVEL)
# Include dependency settings if the project isn't being included as a subproject.
# NOTE: We mark the file optional since it's not required if the user happens to have the
# dependencies installed already.
set(CLP_CORE_DEPS_DIR "${CMAKE_SOURCE_DIR}/../../build/deps/core")
set(CLP_CORE_DEPS_DIR "${CMAKE_SOURCE_DIR}/../../build/deps/cpp")
include("${CLP_CORE_DEPS_DIR}/cmake-settings/all.cmake"
OPTIONAL
RESULT_VARIABLE CLP_DEPS_SETTINGS_FILE_PATH
Expand Down
Loading
Loading