mirror of
https://github.com/karpathy/llm.c.git
synced 2026-07-20 23:05:08 -04:00
use ?= for OPENMPI_DIR so it can be overriden
This commit is contained in:
parent
2a8f82f14f
commit
7c283df9c4
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -208,7 +208,7 @@ else
|
|||
endif
|
||||
|
||||
# Attempt to find and include OpenMPI on the system
|
||||
OPENMPI_DIR = /usr/lib/x86_64-linux-gnu/openmpi
|
||||
OPENMPI_DIR ?= /usr/lib/x86_64-linux-gnu/openmpi
|
||||
OPENMPI_LIB_PATH = $(OPENMPI_DIR)/lib/
|
||||
OPENMPI_INCLUDE_PATH = $(OPENMPI_DIR)/include/
|
||||
ifeq ($(NO_USE_MPI), 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue