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

Initial Structure for updating to the NewPassManager #167

Draft
wants to merge 57 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
ea4e183
Initial Structure for updating to the NewPassManager
tpatki Sep 19, 2024
723ba84
Add a basic module pass structure for perfflow_weave_new_pass. Untested.
tpatki Sep 19, 2024
622d82b
Formatted.
tpatki Sep 19, 2024
b880e84
Add headers, comment one registration technique
tpatki Sep 20, 2024
e3e3469
Formatted.
tpatki Sep 20, 2024
51ab4e9
Add missing brace
tpatki Sep 20, 2024
8b5a89f
Builds, but pass is not picked up with -XClang -load
tpatki Sep 20, 2024
d2578ec
Try the EP Early Simplification Callback, similar to our legacy pass
tpatki Sep 20, 2024
8506007
Comment out the example code
tpatki Sep 20, 2024
633c121
Add missing ;
tpatki Sep 20, 2024
656cd9d
Try adding the -fpass-plugin for clang 14+
tpatki Sep 20, 2024
ff32d8c
Clean up, edit CMake to add -fpass-plugin for Clang14+, edit host-config
tpatki Sep 20, 2024
4c3d2bf
Update the CUDA compiler -Xcompiler flag.
tpatki Sep 20, 2024
acf39c7
Formatted
tpatki Sep 20, 2024
b94231a
Check if we can intercept main, so we know where to insert the Adiak …
tpatki Sep 24, 2024
40885fa
Builds correctly, can intercept main.
tpatki Sep 24, 2024
ad88736
First attempt at restructuring. Will probably not build. May split in…
tpatki Sep 24, 2024
d880a22
Add relevant headers, only testing New pass
tpatki Sep 24, 2024
4d57518
Pick the right flag
tpatki Sep 24, 2024
a24825d
NewPassMgr builds correctly. Buildlegacy pass now
tpatki Sep 24, 2024
f2b3ffe
Woohoo! We have a working NewPassManager that generates PFW files. Fo…
tpatki Sep 24, 2024
5fb02b7
Comment out some parts of legacy code
tpatki Sep 24, 2024
5434752
Code Cleanup Pass 1. Rename some classes, variables, remove commented…
tpatki Sep 24, 2024
259b9d8
Split perfflow_weave_common into hpp and cpp
tpatki Sep 24, 2024
15c3f2f
Formatting pass
tpatki Sep 24, 2024
2c6e2ff
Remove Adiak testing and main function hooks from this PR
tpatki Sep 24, 2024
3596fed
Formatting pass
tpatki Sep 24, 2024
b2ee0f2
Edit the Weaver CMake to allow c++17 build.
tpatki Sep 26, 2024
77f86bc
Debugging commit, revert later.
tpatki Sep 26, 2024
4554d05
Debugging.
tpatki Sep 26, 2024
5274717
Fix several issues due to uncommitted changes previously. Can identif…
tpatki Sep 26, 2024
a473a7a
add more lassen host configs for newer clang versions
slabasan Sep 24, 2024
18f0e60
print operand names
slabasan Sep 26, 2024
b422715
Edit print
tpatki Sep 26, 2024
6c5a230
Fix my stupid bug
tpatki Sep 26, 2024
57e7a82
Fix my stupid bug
tpatki Sep 26, 2024
56897e1
Format prints
tpatki Sep 26, 2024
cba5b58
CString didn't work. try later
tpatki Sep 26, 2024
c07d36a
print formatting
tpatki Sep 26, 2024
e07fdb6
Test one level up with Clang 16. We can switch based on Clang version…
tpatki Sep 26, 2024
d36ffa7
Hostfile for Lassen that works with CUDA.
tpatki Sep 27, 2024
57375eb
Split between >clang15 and <clang15. Plan on using flegacy-pass-mge f…
tpatki Sep 28, 2024
6a3afd7
Formatting pass
tpatki Sep 28, 2024
cef5f63
Caught a bug
tpatki Sep 28, 2024
da31b6a
Several build fixes
tpatki Sep 28, 2024
17f4483
The clang 15 and 17 files DO NOT WORK on Lassen. Need to find the rig…
tpatki Sep 28, 2024
3b968b5
Add corona hostfile that works correctly
tpatki Sep 29, 2024
6a215ce
update/add lassen host configs for clang 16.0.6, cuda, gcc modules
slabasan Oct 1, 2024
6f8296f
add new lassen clang16 gcc8 host file, fix LLVM path
slabasan Oct 1, 2024
ceb0ee8
update LLVM dir in same top location for clang compiler
slabasan Oct 1, 2024
1ee82b2
add lassen host configs for clang/ibm modules
slabasan Oct 1, 2024
8878639
add lassen clang ibm gcc host configs
slabasan Oct 1, 2024
63c2a88
add lassen clang16 host config
slabasan Oct 1, 2024
b71a3a1
add missing cmake file extension
slabasan Oct 2, 2024
cf9d383
add missing if checks
slabasan Oct 2, 2024
ab302aa
add clang17 tioga host config
slabasan Oct 2, 2024
5e50d3a
fix for clang18 builds
slabasan Oct 10, 2024
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
Prev Previous commit
Next Next commit
add lassen clang16 host config
  • Loading branch information
slabasan committed Oct 10, 2024
commit 63c2a88f312b4dbe95ed9cde17bbf0609e3e9e09
15 changes: 15 additions & 0 deletions src/c/host-configs/lassen-4.14.0-ppc64le-ibm-clang@16.0.6.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
##############################################################
# Copyright 2021 Lawrence Livermore National Security, LLC
# (c.f. AUTHORS, NOTICE.LLNS, COPYING)
#
# This file is part of the Flux resource manager framework.
# For details, see https://github.com/flux-framework.
#
# SPDX-License-Identifier: LGPL-3.0
##############################################################

set(CMAKE_C_COMPILER "/usr/tce/packages/clang/clang-ibm-16.0.6/bin/clang" CACHE PATH "")
set(CMAKE_CXX_COMPILER "/usr/tce/packages/clang/clang-ibm-16.0.6/bin/clang++" CACHE PATH "")
set(LLVM_DIR "/usr/tce/packages/clang/clang-ibm-16.0.6/lib/cmake/llvm" CACHE PATH "")
set(FLEX_EXECUTABLE "/usr/tcetmp/packages/flex/flex-2.6.4/bin/flex" CACHE PATH "")
set(PERFFLOWASPECT_WITH_CUDA "OFF" CACHE PATH "")