Compare commits

..

4 Commits

Author SHA1 Message Date
xermicus 5235c4185a Merge branch 'main' into cl/call_gas 2025-12-17 11:32:05 +01:00
Cyrill Leutwiler d08785b1ae the call gas clipping integration test
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
2025-12-17 11:25:54 +01:00
Cyrill Leutwiler 2062bf8711 the injected custom warning message
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
2025-12-17 10:34:33 +01:00
Cyrill Leutwiler 8a908374d4 the EVM call gas syscalls
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
2025-12-16 11:33:55 +01:00
+15 -13
View File
@@ -20,22 +20,24 @@ runs:
shell: bash shell: bash
run: | run: |
if [ -z "${{ inputs.version }}" ]; then if [ -z "${{ inputs.version }}" ]; then
# Get the full version from the LLVM submodule. # Extract branch from .gitmodules (e.g., "release/18.x")
git submodule update --init --recursive BRANCH=$(git config -f .gitmodules submodule.llvm.branch)
cd llvm if [ -n "$BRANCH" ]; then
# Try to get the most recent tag (e.g., "llvmorg-18.1.8") # Extract version from branch name (e.g., "18.x" from "release/18.x")
LLVM_TAG=$(git describe --tags --abbrev=0 2>/dev/null) VERSION_PREFIX=$(echo "$BRANCH" | sed 's|release/||' | sed 's|\.x$||')
if [ -n "$LLVM_TAG" ]; then echo "Detected LLVM version prefix from submodule branch: $VERSION_PREFIX"
echo "Detected LLVM version from submodule: $LLVM_TAG"
# Convert "llvmorg-x.y.z" to "llvm-x.y.z" # Special case: pin LLVM 18 to specific version 18.1.8
LLVM_VERSION=$(echo "$LLVM_TAG" | sed 's/^llvmorg-/llvm-/') if [ "$VERSION_PREFIX" = "18" ]; then
echo "Detected LLVM version from submodule: $LLVM_VERSION" echo "Using pinned version for LLVM 18: llvm-18.1.8"
echo "version_prefix=$LLVM_VERSION" >> $GITHUB_OUTPUT echo "version_prefix=llvm-18.1.8" >> $GITHUB_OUTPUT
else else
echo "Could not detect LLVM version from submodule, will use latest release" echo "version_prefix=llvm-$VERSION_PREFIX" >> $GITHUB_OUTPUT
fi
else
echo "No branch found in .gitmodules, will use latest release"
echo "version_prefix=" >> $GITHUB_OUTPUT echo "version_prefix=" >> $GITHUB_OUTPUT
fi fi
cd ..
else else
echo "Using explicitly provided version: ${{ inputs.version }}" echo "Using explicitly provided version: ${{ inputs.version }}"
echo "version_prefix=${{ inputs.version }}" >> $GITHUB_OUTPUT echo "version_prefix=${{ inputs.version }}" >> $GITHUB_OUTPUT