generated from arras-energy/gridlabd-old
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: David P. Chassin <[email protected]> Signed-off-by: David P. Chassin <[email protected]> Signed-off-by: Mitchell Victoriano <[email protected]> Signed-off-by: Mitchell Victoriano <[email protected]> Signed-off-by: Duncan Ragsdale <[email protected]> Co-authored-by: Mitchell Victoriano <[email protected]> Co-authored-by: aivanova5 <[email protected]> Co-authored-by: Duncan Ragsdale <[email protected]>
- Loading branch information
1 parent
b92e990
commit 3441ad0
Showing
152 changed files
with
28,285 additions
and
19,374 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,8 @@ | |
# Authors: | ||
# DP Chassin ([email protected]) | ||
|
||
.SILENT: | ||
|
||
$(info Current target is $(shell $(top_srcdir)/build-aux/version.sh --name)) | ||
|
||
# !!! must match version specified in configure.ac | ||
|
@@ -50,13 +52,15 @@ AM_LDFLAGS += -module | |
AM_LDFLAGS += -avoid-version | ||
AM_LDFLAGS += -export-dynamic | ||
AM_LDFLAGS += $(GLD_LDFLAGS) -lpython$(PYVER) | ||
AM_LIBTOOLFLAGS = --quiet | ||
|
||
# makefile fragments populate these variables | ||
BUILT_SOURCES = | ||
CLEANFILES = | ||
EXTRA_DIST = | ||
dist_pkgdata_DATA = requirements.txt | ||
pkgdata_DATA = | ||
pkginclude_HEADERS = | ||
noinst_LTLIBRARIES = | ||
pkglib_LTLIBRARIES = | ||
bin_PROGRAMS = | ||
|
@@ -66,7 +70,7 @@ dist_doc_DATA = | |
docs_targets = | ||
|
||
check-target: | ||
@test $(prefix) = $(shell build-aux/version.sh --install) || ( echo "ERROR [Makefile]: prefix and target mismatch; ./configure is outdated. Build using '--clean' option to fix this." > /dev/stderr ; false ) | ||
@test $(prefix) = $(shell $(top_srcdir)/build-aux/version.sh --install) || ( echo "ERROR [Makefile]: prefix '$(prefix)' and target '($(shell $(top_srcdir)/build-aux/version.sh --install))' mismatch; ./configure is outdated. Build using '--clean' option to fix this." > /dev/stderr ; false ) | ||
|
||
# required modules | ||
include $(top_srcdir)/third_party/Makefile.mk | ||
|
@@ -123,7 +127,7 @@ python-venv: | |
# NB: it's ok to use the runner's python to generate the requirements.txt file | ||
requirements.txt: python/requirements.csv | ||
@python3 -m pip -q install pandas==2.0.0 | ||
@python3 python/requirements.py $< >$@ | ||
@python3 $(top_srcdir)/python/requirements.py $< >$@ | ||
|
||
$(PYENV): requirements.txt | ||
@$(SYSPYTHON) --version 1>/dev/null || ( echo "ERROR [Makefile]: $(SYSPYTHON) is not found" > /dev/stderr ; false ) | ||
|
@@ -134,7 +138,7 @@ $(PYENV): requirements.txt | |
@$(ENVPYTHON) --version 1>/dev/null || ( echo "ERROR [Makefile]: $(ENVPYTHON) is not found" > /dev/stderr ; false ) | ||
@$(ENVPYTHON) -m pip install --upgrade pip | ||
@$(ENVPYTHON) -m pip install pandas==2.0.0 | ||
@$(ENVPYTHON) python/requirements.py --buildenv | bash | ||
@$(ENVPYTHON) $(top_srcdir)/python/requirements.py --buildenv | bash | ||
@$(ENVPYTHON) -m pip install -r requirements.txt | ||
@touch $(PYENV) | ||
|
||
|
@@ -291,11 +295,18 @@ $(PREFIX)/docker.img: docker/Dockerfile Makefile | |
@mkdir -p $(prefix) | ||
docker save $(PACKAGE)/$(PACKAGE_VERSION)-$(PACKAGE_BRANCH):latest -o $(prefix)/docker.img | ||
|
||
system: python-install install | ||
system: python-install install $(prefix)/src | ||
@echo "Setting $$($(top_srcdir)/build-aux/version.sh --install) to the current system version" | ||
@$(prefix)/bin/gridlabd version set | ||
@test "$$(gridlabd --version=install)" = "$$($(top_srcdir)/build-aux/version.sh --install)" || echo 'WARNING : build and install versions differ; use build `--clean` option to fix this problem' | ||
|
||
$(prefix)/src: | ||
@echo Copying source files to $@... | ||
@mkdir -p $(prefix)/src/source $(prefix)/src/python $(prefix)/src/module | ||
@cp $(top_srcdir)/source/*.cpp $(prefix)/src/source | ||
@cp $(top_srcdir)/python/*.cpp $(prefix)/src/python | ||
@chmod -R 775 $(prefix)/src | ||
|
||
index: weather library template | ||
|
||
html-local: module-html developer-html troubleshooting-html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
<!DOCTYPE HTML /> | ||
<HTML> | ||
<SCRIPT LANGUAGE="Javascript" SRC="_defaults.js"></SCRIPT> | ||
<SCRIPT LANGUAGE="JavaScript"> | ||
document.writeln('<FRAMESET ROWS="' + (top_panel_height+20) + ',*" BORDER=2>'); | ||
console.info(window.location.search) | ||
document.writeln('<FRAME SRC="_topbar.html" NORESIZE="noresize"></FRAME>'); | ||
document.writeln('<FRAMESET COLS="320,*" BORDER=3>'); | ||
document.writeln('<FRAME NAME="contents" SRC="_contents.html' + window.location.search + '"></FRAME>'); | ||
document.writeln('<FRAME NAME="page" SRC="_page.html' + window.location.search + '"></FRAME>'); | ||
document.writeln('</FRAMESET>'); | ||
document.writeln('</FRAMESET>'); | ||
</SCRIPT> | ||
|
||
<HEAD> | ||
<META HTTP-EQUIV="refresh" CONTENT="0,url=http://docs.gridlabd.us/index.html?owner=arras-energy&project=gridlabd" /> | ||
</HEAD> | ||
<BODY> | ||
Redirecting to <A HREF="http://docs.gridlabd.us/index.html?owner=arras-energy&project=gridlabd">http://docs.arras-energy.org/index.html?owner=arras-energy&project=gridlabd</A>... | ||
</BODY> | ||
</HTML> |
Oops, something went wrong.