Skip to content

Commit

Permalink
remove .env things for now
Browse files Browse the repository at this point in the history
  • Loading branch information
superlopuh committed Dec 21, 2024
1 parent 61b0df1 commit 0a083e1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
1 change: 0 additions & 1 deletion .env.example

This file was deleted.

9 changes: 2 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
MAKEFLAGS += --no-builtin-rules
MAKEFLAGS += --no-builtin-variables

# Load local environment variables if .env exists
ifneq (,$(wildcard .env))
include .env
endif

# use a default prefix for coverage data files
COVERAGE_FILE ?= .coverage

Expand Down Expand Up @@ -34,8 +29,8 @@ uv-installed:
.PHONY: ${VENV_DIR}/
${VENV_DIR}/: uv-installed
XDSL_VERSION_OVERRIDE="0+dynamic" uv sync ${VENV_EXTRAS}
@if [ ! -z "$(XDSL_MLIR_OPT)" ]; then \
ln -sf $(XDSL_MLIR_OPT) ${VENV_DIR}/bin/mlir-opt; \
@if [ ! -z "$(XDSL_MLIR_BIN)" ]; then \
ln -sf $(XDSL_MLIR_BIN)/mlir-opt ${VENV_DIR}/bin/mlir-opt; \
fi

# make sure `make venv` also works correctly
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ cd xdsl
make venv
```

To make a custom mlir-opt available in the virtual environment, create a `.env` file with the `XDSL_MLIR_OPT` variable set as in `.env.example`.

#### If you can't use `uv`

For some systems and workflows, changing to a new dependency management system
Expand Down

0 comments on commit 0a083e1

Please sign in to comment.