Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump LLVM to Version 16 #1357

Merged
merged 25 commits into from
Feb 5, 2024
Merged

Bump LLVM to Version 16 #1357

merged 25 commits into from
Feb 5, 2024

Conversation

jumormt
Copy link
Contributor

@jumormt jumormt commented Feb 4, 2024

No description provided.

Copy link

codecov bot commented Feb 4, 2024

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (e1ab2d6) 66.27% compared to head (ebb0f14) 66.13%.
Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1357      +/-   ##
==========================================
- Coverage   66.27%   66.13%   -0.15%     
==========================================
  Files         227      227              
  Lines       24653    24648       -5     
==========================================
- Hits        16340    16302      -38     
- Misses       8313     8346      +33     
Files Coverage Δ
svf-llvm/lib/LLVMModule.cpp 82.92% <ø> (-0.49%) ⬇️
svf-llvm/tools/MTA/MTAResultValidator.cpp 67.98% <66.66%> (-0.23%) ⬇️
svf-llvm/lib/LLVMUtil.cpp 78.47% <71.42%> (-2.09%) ⬇️
svf-llvm/lib/CHGBuilder.cpp 84.08% <87.50%> (-2.25%) ⬇️

... and 15 files with indirect coverage changes

if [ $? -eq 0 ]; then
echo "Homebrew installation completed."
else
echo "Homebrew installation failed."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

terminate once failed.

build.sh Outdated
build_llvm_from_source
if [[ "$sysOS" = "Darwin" ]]; then
echo "Installing LLVM binary for $OSDisplayName"
brew install llvm@16
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try to use macro rather than llvm@16

build.sh Outdated
echo "LLVM binary installation failed."
exit 1
fi
export LLVM_DIR="$(brew --prefix llvm@16)"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace llvm@16 with a macro

@@ -15,18 +15,16 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
SVFHOME="${SCRIPT_DIR}"
sysOS=$(uname -s)
arch=$(uname -m)
Copy link
Collaborator

@yuleisui yuleisui Feb 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

majorLLVMVer=16
LLVMVer=$(majorLLVMVer).0.0

@yuleisui yuleisui merged commit f24a89d into SVF-tools:master Feb 5, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants