Skip to content

Commit

Permalink
some more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
nic11 committed Dec 22, 2024
1 parent cd8fd57 commit 6f55318
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/pr-ubuntu-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ jobs:
-v ${{github.workspace}}:/src
run: |
print_info_unsafe() {
echo
echo
echo .
echo .
echo "=== Checking $1 ==="
out="`which $1`"
ret="$?"
Expand All @@ -88,6 +88,7 @@ jobs:
}
print_info clang++
print_info clang++-15
print_info cmake
print_info ninja
print_info node
Expand All @@ -97,6 +98,11 @@ jobs:
print_info unzip
print_info curl
echo .
echo .
echo === env ===
./build.sh --print-env
- name: Store SP types from commit
run: |
id
Expand Down
8 changes: 6 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ else
fi
# export LD=/usr/bin/ld.lld-15

export CMAKE_C_COMPILER="$CC"
export CMAKE_CXX_COMPILER="$CXX"
# export CMAKE_C_COMPILER="$CC"
# export CMAKE_CXX_COMPILER="$CXX"
export CMAKE_MAKE_PROGRAM="ninja"

# Some build dependencies require some strange stuff.
Expand Down Expand Up @@ -65,11 +65,15 @@ elif [ "$1" = "--clean-cpp" ]; then
exec rm -rf build/
elif [ "$1" = "--clean-node" ]; then
echo not implemented yet, TODO delete node_modules dirs
elif [ "$1" = "--print-env" ]; then
env
else
eecho "Usage:"
eecho " ./build.sh --configure <cmake args...>"
eecho "OR"
eecho " ./build.sh --build <cmake args...>"
eecho "OR"
eecho " ./build.sh --clean-<cpp|node>"
eecho "OR"
eecho " ./build.sh --print-env"
fi

0 comments on commit 6f55318

Please sign in to comment.