Skip to content

Commit fed2432

Browse files
authored
Merge pull request #23 from dau-dev/tkp/upd
Updates
2 parents 0fdab03 + ab1ddba commit fed2432

1 file changed

Lines changed: 17 additions & 15 deletions

File tree

Makefile

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,15 @@ ROOT_PREFIX := $(or $(INSTALL_PREFIX),"/usr/local")
5050
BIN_DIR := $(or $(INSTALL_PREFIX),"/usr/local")/bin/
5151
INC_DIR := $(or $(INSTALL_PREFIX),"/usr/local")/include/
5252
LIB_DIR := $(or $(INSTALL_PREFIX),"/usr/local")/lib/
53-
SHARE_DIR := $(or $(INSTALL_PREFIX),"/usr/local")/share/
53+
SHARE_DIR := $(or $(INSTALL_PREFIX),"/usr/local")/share
54+
JAVA_INSTALL_DIR := /usr/local/share
5455
else ifeq ($(UNAME), Darwin)
5556
ROOT_PREFIX := $(or $(INSTALL_PREFIX),"/opt/homebrew")
5657
BIN_DIR := $(or $(INSTALL_PREFIX),"/opt/homebrew")/bin/
5758
INC_DIR := $(or $(INSTALL_PREFIX),"/opt/homebrew")/include/
5859
LIB_DIR := $(or $(INSTALL_PREFIX),"/opt/homebrew")/lib/
59-
SHARE_DIR := $(or $(INSTALL_PREFIX),"/opt/homebrew")/share/
60+
SHARE_DIR := $(or $(INSTALL_PREFIX),"/opt/homebrew")/share
61+
JAVA_INSTALL_DIR := /opt/homebrew/share
6062
endif
6163

6264

@@ -68,16 +70,16 @@ endif
6870
# \ / | |____| | \ \ ____) |_| || |__| | |\ |____) |
6971
# \/ |______|_| \_\_____/|_____\____/|_| \_|_____/
7072
#
71-
GOOGLETEST_VERSION := 1.14.0
72-
CAPNPROTO_VERSION := 1.0.0
73-
JSON_VERSION := 3.11.2
74-
ANTLR_VERSION := 4.13.0
75-
UHDM_VERSION := 1.80
76-
SURELOG_VERSION := 1.80
73+
GOOGLETEST_VERSION := 1.15.2
74+
CAPNPROTO_VERSION := 1.0.2
75+
JSON_VERSION := 3.11.3
76+
ANTLR_VERSION := 4.13.2
77+
UHDM_VERSION := 1.84
78+
SURELOG_VERSION := 1.84
7779
VERIBLE_VERSION := 0.1.0
78-
YOSYS_VERSION := 0.35
79-
SYNLIG_VERSION := 2023-12-13-b3e690f
80-
VERILATOR_VERSION := 5.018
80+
YOSYS_VERSION := 0.47
81+
SYNLIG_VERSION := 2024-11-29-10efd31
82+
VERILATOR_VERSION := 5.030
8183
SIMVIEW_VERSION := 0.0.1
8284
SURFER_VERSION := 0.0.1
8385

@@ -306,7 +308,7 @@ uhdm/rpm: ## build rpm package for uhdm
306308
#
307309

308310
.PHONY: surelog/build_shared surelog/build_static surelog surelog/install surelog/debian
309-
SURELOG_CMAKE_ARGS := -DSURELOG_USE_HOST_ALL=ON -DSURELOG_WITH_TCMALLOC=OFF -DSURELOG_WITH_ZLIB=ON
311+
SURELOG_CMAKE_ARGS := -DSURELOG_USE_HOST_ALL=ON -DSURELOG_WITH_TCMALLOC=OFF -DSURELOG_WITH_ZLIB=ON -DANTLR_JAR_LOCATION=${JAVA_INSTALL_DIR}/java/antlr-$(ANTLR_VERSION)-complete.jar
310312

311313
surelog/.git:
312314
git clone --depth 1 --branch v$(SURELOG_VERSION) https://github.com/chipsalliance/Surelog.git surelog
@@ -386,7 +388,8 @@ YOSYS_ARGS := CONFIG=clang
386388
endif
387389

388390
yosys/.git:
389-
git clone --depth 1 --branch yosys-$(YOSYS_VERSION) https://github.com/YosysHQ/yosys.git
391+
git clone --depth 1 --branch $(YOSYS_VERSION) https://github.com/YosysHQ/yosys.git
392+
cd yosys && git submodule update --init --recursive
390393

391394
yosys/libs: yosys/.git
392395
cd yosys && make $(YOSYS_ARGS) -j $(NPROC)
@@ -428,8 +431,7 @@ SYNLIG_CMAKE_ARGS := \
428431
-DSYNLIG_WITH_ZLIB=ON
429432

430433
synlig/.git:
431-
# git clone --depth 1 --branch $(SYNLIG_VERSION) https://github.com/chipsalliance/synlig.git
432-
git clone --depth 1 --branch tkp/cmakeext https://github.com/dau-dev/synlig.git
434+
git clone --depth 1 --branch $(SYNLIG_VERSION) https://github.com/chipsalliance/synlig.git
433435

434436
synlig/build: synlig/.git
435437
echo "cmake $(SYNLIG_CMAKE_ARGS) $(CMAKE_COMMON_ARGS_SHARED) ."

0 commit comments

Comments
 (0)