Skip to content

Commit 5409e84

Browse files
authored
Merge pull request verilog-to-routing#1869 from antmicro/add-capnproto-as-submodule
Add capnproto as submodule
2 parents 7ec9f74 + 65bda13 commit 5409e84

File tree

414 files changed

+62
-180429
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

414 files changed

+62
-180429
lines changed

.github/workflows/test.yml

Lines changed: 57 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,18 @@ jobs:
2323
with:
2424
python-version: 3.6
2525
- uses: actions/checkout@v2
26+
with:
27+
submodules: recursive
2628
- run: ./.github/scripts/install_dependencies.sh
2729

30+
- uses: hendrikmuhs/ccache-action@v1
31+
2832
- name: Test
2933
env:
3034
BUILD_TYPE: release
31-
run: ./.github/scripts/build.sh
35+
run: |
36+
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
37+
./.github/scripts/build.sh
3238
3339
3440
Format:
@@ -47,6 +53,8 @@ jobs:
4753
with:
4854
python-version: 3.6
4955
- uses: actions/checkout@v2
56+
with:
57+
submodules: recursive
5058
- run: ./.github/scripts/install_dependencies.sh
5159

5260
- name: Test
@@ -62,6 +70,8 @@ jobs:
6270
with:
6371
python-version: 3.6
6472
- uses: actions/checkout@v2
73+
with:
74+
submodules: recursive
6575
- run: ./.github/scripts/install_dependencies.sh
6676

6777
- name: Test
@@ -79,14 +89,20 @@ jobs:
7989
with:
8090
python-version: 3.6
8191
- uses: actions/checkout@v2
92+
with:
93+
submodules: recursive
8294
- run: ./.github/scripts/install_dependencies.sh
8395

96+
- uses: hendrikmuhs/ccache-action@v1
97+
8498
- name: Test
8599
env:
86100
#In order to get compilation warnings produced per source file, we must do a non-IPO build
87101
#We also turn warnings into errors for this target by doing a strict compile
88102
CMAKE_PARAMS: "-DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVTR_ENABLE_STRICT_COMPILE=on -DVTR_IPO_BUILD=off"
89-
run: ./.github/scripts/build.sh
103+
run: |
104+
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
105+
./.github/scripts/build.sh
90106
91107
92108
Regression:
@@ -128,12 +144,17 @@ jobs:
128144
with:
129145
python-version: 3.6
130146
- uses: actions/checkout@v2
147+
with:
148+
submodules: recursive
131149
- run: ./.github/scripts/install_dependencies.sh
132150

151+
- uses: hendrikmuhs/ccache-action@v1
152+
133153
- name: Test
134154
env:
135155
CMAKE_PARAMS: ${{ matrix.params }}
136156
run: |
157+
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
137158
./.github/scripts/build.sh
138159
./run_reg_test.py ${{ matrix.suite }} -show_failures -j2
139160
@@ -164,14 +185,19 @@ jobs:
164185
with:
165186
python-version: 3.6
166187
- uses: actions/checkout@v2
188+
with:
189+
submodules: recursive
167190
- run: ./.github/scripts/install_dependencies.sh
168191

192+
- uses: hendrikmuhs/ccache-action@v1
193+
169194
- name: Test
170195
env:
171196
CMAKE_PARAMS: '-DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=on -DVTR_IPO_BUILD=off -DWITH_BLIFEXPLORER=on'
172197
BUILD_TYPE: debug
173198
LSAN_OPTIONS: 'exitcode=42' #Use a non-standard exit code to ensure LSAN errors are detected
174199
run: |
200+
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
175201
./.github/scripts/build.sh
176202
# We skip QoR since we are only checking for errors in sanitizer runs
177203
./run_reg_test.py ${{ matrix.suite }} -show_failures -j2 -skip_qor
@@ -186,13 +212,18 @@ jobs:
186212
with:
187213
python-version: 3.6
188214
- uses: actions/checkout@v2
215+
with:
216+
submodules: recursive
189217
- run: ./.github/scripts/install_dependencies.sh
190218

219+
- uses: hendrikmuhs/ccache-action@v1
220+
191221
- name: Test
192222
env:
193223
CMAKE_PARAMS: '-DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=on -DVTR_IPO_BUILD=off -DWITH_BLIFEXPLORER=on'
194224
BUILD_TYPE: debug
195225
run: |
226+
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
196227
./.github/scripts/build.sh
197228
./run_reg_test.py odin_reg_basic -show_failures -j2
198229
@@ -206,12 +237,17 @@ jobs:
206237
with:
207238
python-version: 3.6
208239
- uses: actions/checkout@v2
240+
with:
241+
submodules: recursive
209242
- run: ./.github/scripts/install_dependencies.sh
210243

244+
- uses: hendrikmuhs/ccache-action@v1
245+
211246
- name: Test
212247
env:
213248
BUILD_TYPE: release
214249
run: |
250+
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
215251
./.github/scripts/build.sh
216252
./utils/vqm2blif/test/scripts/test_vqm2blif.sh
217253
@@ -234,13 +270,18 @@ jobs:
234270
with:
235271
python-version: 3.6
236272
- uses: actions/checkout@v2
273+
with:
274+
submodules: recursive
237275
- run: ./.github/scripts/install_dependencies.sh
238276

277+
- uses: hendrikmuhs/ccache-action@v1
278+
239279
- name: Test
240280
env:
241281
CMAKE_PARAMS: '-DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=on -DVTR_IPO_BUILD=off -DWITH_BLIFEXPLORER=on -DODIN_USE_YOSYS=ON'
242282
BUILD_TYPE: debug
243283
run: |
284+
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
244285
./.github/scripts/build.sh
245286
./run_reg_test.py ${{ matrix.suite }} -show_failures -j2
246287
@@ -266,14 +307,20 @@ jobs:
266307
with:
267308
python-version: 3.6
268309
- uses: actions/checkout@v2
310+
with:
311+
submodules: recursive
269312
- run: ./.github/scripts/install_dependencies.sh
270313

314+
- uses: hendrikmuhs/ccache-action@v1
315+
271316
- name: Test
272317
env:
273318
CMAKE_PARAMS: "-DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on"
274319
MATRIX_EVAL: ${{ matrix.eval }}
275320
BUILD_TYPE: ${{ matrix.build }}
276-
run: ./.github/scripts/build.sh
321+
run: |
322+
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
323+
./.github/scripts/build.sh
277324
278325
279326
Coverity:
@@ -296,11 +343,17 @@ jobs:
296343
with:
297344
python-version: 3.6
298345
- uses: actions/checkout@v2
346+
with:
347+
submodules: recursive
299348
- run: ./.github/scripts/install_dependencies.sh
300349

350+
- uses: hendrikmuhs/ccache-action@v1
351+
301352
- name: Test
302353
env:
303354
CMAKE_PARAMS: '-DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on'
304355
_COVERITY_URL: 'https://scan.coverity.com/download/linux64'
305356
_COVERITY_MD5: 'd0d7d7df9d6609e578f85096a755fb8f'
306-
run: ./.github/scripts/build.sh
357+
run: |
358+
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
359+
./.github/scripts/build.sh

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "libs/EXTERNAL/capnproto"]
2+
path = libs/EXTERNAL/capnproto
3+
url = https://github.com/capnproto/capnproto.git

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export CTEST_OUTPUT_ON_FAILURE=TRUE
6262
ifneq ($(MAKECMDGOALS),distclean)
6363
ifneq ($(MAKECMDGOALS),clean)
6464
all $(MAKECMDGOALS):
65+
@ git submodule update --init --recursive
6566
ifneq ($(BUILD_DIR),build)
6667
ln -sf $(BUILD_DIR) build
6768
endif

libs/EXTERNAL/capnproto

Submodule capnproto added at 3f44c6d

libs/EXTERNAL/capnproto/.gitignore

Lines changed: 0 additions & 76 deletions
This file was deleted.

libs/EXTERNAL/capnproto/.travis.yml

Lines changed: 0 additions & 77 deletions
This file was deleted.

libs/EXTERNAL/capnproto/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

libs/EXTERNAL/capnproto/CONTRIBUTORS

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)