Skip to content

Commit bc43710

Browse files
committed
@seph comments
1 parent 4ecf860 commit bc43710

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@ jobs:
3232
- name: Build
3333
run: ./build.sh "/opt/osquery-toolchain"
3434

35-
- name: SSH for Debugging
36-
if: failure()
37-
uses: owenthereal/action-upterm@v1
38-
with:
39-
limit-access-to-actor: true # Restrict to the user who triggered the workflow
40-
4135
- name: Archive
4236
run: |
4337
cd /opt/osquery-toolchain/final

build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,7 @@ function make_symlink_real() {
224224
}
225225

226226
function patch_final_config_cmake() {
227-
# Make so that ZLIB_ROOT is relative to the Config.cmake,
228-
# since we want for it to report
227+
# Make so that ZLIB_ROOT is relative to the Config.cmake, otherwise it will point to an absolute path that is not found in the packaged toolchain.
229228
path_to_config_file="${install_dir}/lib/cmake/llvm/LLVMConfig.cmake"
230229
sed -Ei 's|(set\(ZLIB_ROOT )(.*)|\1"${CMAKE_CURRENT_LIST_DIR}/../../../")|g' "${path_to_config_file}"
231230
}

0 commit comments

Comments
 (0)