Skip to content

Commit

Permalink
Add spartan7 to kokoro build system.
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
  • Loading branch information
litghost committed Jan 22, 2021
1 parent 66e4953 commit 755d5df
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/kokoro/continuous-db-spartan7.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Format: //devtools/kokoro/config/proto/build.proto

build_file: "symbiflow-prjxray-continuous-db-spartan7/.github/kokoro/nothing.sh"
build_file: "symbiflow-prjxray-continuous-db-spartan7/.github/kokoro/db-full.sh"

timeout_mins: 4320

Expand Down
6 changes: 1 addition & 5 deletions .github/kokoro/kokoro-cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@
"""

for part in ['artix7', 'kintex7', 'zynq7', 'spartan7']:
if part != 'spartan7':
script = 'db-full.sh'
else:
# Emit dummy script for spartan7 for now until it is working.
script = 'nothing.sh'
script = 'db-full.sh'

with open("continuous-db-%s.cfg" % part, "w") as f:
f.write(
Expand Down
2 changes: 1 addition & 1 deletion .github/kokoro/presubmit-db-spartan7.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Format: //devtools/kokoro/config/proto/build.proto

build_file: "symbiflow-prjxray-presubmit-db-spartan7/.github/kokoro/nothing.sh"
build_file: "symbiflow-prjxray-presubmit-db-spartan7/.github/kokoro/db-full.sh"

timeout_mins: 4320

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ $(foreach DB,$(DATABASES),$(eval $(call database,$(DB))))
# --------------------------------------

ARTIX_PARTS=artix7_50t artix7_200t
SPARTAN_PARTS=spartan7_50
SPARTAN_PARTS=
ZYNQ_PARTS=zynq7010
KINTEX_PARTS=kintex70t

Expand Down
13 changes: 11 additions & 2 deletions database/Makefile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions database/spartan7/settings.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions settings/spartan7.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (C) 2017-2020 The Project X-Ray Authors.
#
# Use of this source code is governed by a ISC-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/ISC
#
# SPDX-License-Identifier: ISC
source $(dirname ${BASH_SOURCE[0]})/spartan7_50.sh

0 comments on commit 755d5df

Please sign in to comment.