changed analog-tools to chipathon-tools. Using heavy container

This commit is contained in:
Aquiles Viza 2023-09-29 16:04:17 -03:00
parent 4a3f30d5e9
commit e9c4c8ffdd
9 changed files with 10 additions and 9 deletions

View File

@ -2,8 +2,8 @@
setlocal
@REM SET BASE_IMG=git.1159.cl/mario1159/analog-xk-web:latest
SET BASE_IMG=git.1159.cl/mario1159/analog-xk-desktop:latest
SET RESULT_IMAGE=akilesalreadytaken/analog-tools:latest
SET BASE_IMG=git.1159.cl/mario1159/heavy-desktop:latest
SET RESULT_IMAGE=akilesalreadytaken/chipathon-tools:latest
SET CALL=call
:parse
@ -24,7 +24,7 @@ SET CALL=call
:run
%CALL% docker build --build-arg BASE_IMG=%BASE_IMG% -t %RESULT_IMAGE% -f stacks/analog-tools/Dockerfile stacks/analog-tools/
%CALL% docker build --build-arg BASE_IMG=%BASE_IMG% -t %RESULT_IMAGE% -f stacks/chipathon-tools/Dockerfile stacks/chipathon-tools/
GOTO end
:end

View File

@ -2,7 +2,7 @@
setlocal
SET IMAGE=akilesalreadytaken/analog-xk:latest
SET IMAGE=akilesalreadytaken/analog-tools:latest
SET IMAGE=akilesalreadytaken/chipathon-tools:latest
::SET IMAGE=git.1159.cl/mario1159/analog-xk-web:latest
SET CALL=call
@ -51,7 +51,7 @@ SET CALL=call
IF NOT DEFINED CONTAINER_USER SET CONTAINER_USER=1000
IF NOT DEFINED CONTAINER_GROUP SET CONTAINER_GROUP=1000
IF NOT DEFINED CONTAINER_NAME SET CONTAINER_NAME=analog-tools
IF NOT DEFINED CONTAINER_NAME SET CONTAINER_NAME=chipathon-tools
IF NOT DEFINED JUPYTER_PORT SET JUPYTER_PORT=8888
IF NOT DEFINED VNC_PORT SET VNC_PORT=8444

4
run.sh
View File

@ -2,7 +2,7 @@
set -e
# IMAGE=akilesalreadytaken/analog-xk:latest
IMAGE=akilesalreadytaken/analog-tools:latest
IMAGE=akilesalreadytaken/chipathon-tools:latest
# IMAGE=git.1159.cl/mario1159/analog-xk-web:latest
CALL=
@ -48,7 +48,7 @@ function run () {
[ -z "${CONTAINER_USER+x}" ] && CONTAINER_USER=$(id -u)
[ -z "${CONTAINER_GROUP+x}" ] && CONTAINER_GROUP=$(id -g)
[ -z "${CONTAINER_NAME+x}" ] && CONTAINER_NAME=analog-tools
[ -z "${CONTAINER_NAME+x}" ] && CONTAINER_NAME=chipathon-tools
[ -z "${JUPYTER_PORT+x}" ] && JUPYTER_PORT=8888
[ -z "${VNC_PORT+x}" ] && VNC_PORT=8444

View File

@ -1,5 +1,5 @@
ARG BASE_IMG=analog-xk
FROM $BASE_IMG as analog-tools
ARG BASE_IMG=heavy-desktop
FROM $BASE_IMG as chipathon-tools
# Add scripts
COPY --chown=designer:designer --chmod=755 scripts/install-open-pdks.sh .

View File

@ -11,6 +11,7 @@ PRECHECK_REPO=https://raw.githubusercontent.com/efabless/mpw_precheck/main/check
PRECHECK_GF_FILE=gf180mcuC_mr.drc
PRECHECK_SKY_FILE=sky130A_mr.drc
# TODO: DOWNLOAD WITH WGET, DONT HAVE IT STATIC
if [ -d $SCRIPT_DIR/iic-spice-model-red.py ]; then
echo File iic-spice-model.red.py not found
return -1