Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1e6ad3e

Browse files
committed
Switch default branch for LLVM and CIRCT from master to main
1 parent 4cf96c7 commit 1e6ad3e

File tree

6 files changed

+37
-35
lines changed

6 files changed

+37
-35
lines changed

pkg/circt/etc/patches/deps_fix.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
diff --git a/lib/Support/CMakeLists.txt b/lib/Support/CMakeLists.txt
2+
index b2c6875..73f7145 100644
3+
--- a/lib/Support/CMakeLists.txt
4+
+++ b/lib/Support/CMakeLists.txt
5+
@@ -11,4 +11,5 @@ add_circt_library(CIRCTSupport
6+
ADDITIONAL_HEADER_DIRS
7+
8+
LINK_LIBS PUBLIC
9+
+ MLIRIR
10+
)
Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
diff --git a/CMakeLists.txt b/CMakeLists.txt
2-
index 0f281ee..959d23f 100644
2+
index cbc4efa..53e8c19 100644
33
--- a/CMakeLists.txt
44
+++ b/CMakeLists.txt
5-
@@ -82,11 +82,11 @@ add_custom_target(circt-headers)
5+
@@ -103,14 +103,14 @@ add_custom_target(circt-headers)
66
set_target_properties(circt-headers PROPERTIES FOLDER "Misc")
77
add_custom_target(circt-doc)
88

9-
+include_directories(${CIRCT_MAIN_SRC_DIR})
10-
+include_directories(${CIRCT_INCLUDE_DIR})
11-
include_directories(${LLVM_INCLUDE_DIRS})
12-
include_directories(${MLIR_INCLUDE_DIRS})
13-
#include_directories( ${MLIR_BINARY_INCLUDE_DIR})
14-
-include_directories(${CIRCT_MAIN_SRC_DIR})
15-
-include_directories(${CIRCT_INCLUDE_DIR})
9+
-# Add MLIR and LLVM headers to the include path
10+
-include_directories(${LLVM_INCLUDE_DIRS})
11+
-include_directories(${MLIR_INCLUDE_DIRS})
12+
-
13+
# Add CIRCT files to the include path
14+
include_directories(${CIRCT_MAIN_INCLUDE_DIR})
15+
include_directories(${CIRCT_INCLUDE_DIR})
1616

17-
# If Verilator hasn't been explicitly disabled, find it.
18-
option(VERILATOR_DISABLE "Disable the Verilator tests.")
17+
+# Add MLIR and LLVM headers to the include path
18+
+include_directories(${LLVM_INCLUDE_DIRS})
19+
+include_directories(${MLIR_INCLUDE_DIRS})
20+
+
21+
#-------------------------------------------------------------------------------
22+
# Verilator Configuration
23+
#-------------------------------------------------------------------------------
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
diff --git a/tools/llhd-sim/CMakeLists.txt b/tools/llhd-sim/CMakeLists.txt
2-
index 46c695d..f29efdf 100644
2+
index f489812..01d7e48 100644
33
--- a/tools/llhd-sim/CMakeLists.txt
44
+++ b/tools/llhd-sim/CMakeLists.txt
5-
@@ -9,7 +9,7 @@ set(LIBS
6-
CIRCTLLHDSimEngine
7-
)
5+
@@ -11,7 +11,7 @@ set(LIBS
86

9-
-add_llvm_executable(llhd-sim
10-
+add_llvm_tool(llhd-sim
11-
llhd-sim.cpp)
12-
13-
llvm_update_compile_flags(llhd-sim)
7+
# llhd-sim fails to link on Windows with MSVC.
8+
IF(NOT WIN32)
9+
- add_llvm_executable(llhd-sim
10+
+ add_llvm_tool(llhd-sim
11+
llhd-sim.cpp)
12+
13+
llvm_update_compile_flags(llhd-sim)

pkg/circt/repo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
src https://github.com/llvm/circt.git master 2228c690927039736493ab2551ed15d42c87badc
1+
src https://github.com/llvm/circt.git main 63603815318f4733c23a193c2ec08d791d058bcb

pkg/llvm/repo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
src https://github.com/llvm/llvm-project.git master d9da4c3e73720badfcac5c0dc63c0285bb690770
1+
src https://github.com/llvm/llvm-project.git main 8f283cafddfa8d6d01a94b48cdc5d25817569e91

0 commit comments

Comments
 (0)