Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs #233

Merged
merged 34 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
3f06628
Started work on re-enabling support for bifrost.ndarray.astype().
jaycedowell Apr 22, 2022
81e43f9
Start trying out astype().
jaycedowell Apr 22, 2022
298b96c
Fixed a few problems and better test coverage.
jaycedowell Apr 26, 2022
a57e699
Updated for astype().
jaycedowell Apr 26, 2022
39526ac
Use bifrost.DataType instead of bifrost.dtype.
jaycedowell Apr 29, 2022
0bb8c61
Add a catch for IndexError.
jaycedowell Apr 29, 2022
7dc1c5c
Explicitly include cstdint for gcc13 (#227)
league Feb 19, 2024
898e4a8
Small update to test #228.
jaycedowell Feb 20, 2024
de72fab
Another small update to test #228.
jaycedowell Feb 20, 2024
56b84d2
Update which version of ctypesgen to use.
jaycedowell Mar 15, 2024
92240df
Merge branch 'master' into astype-support
jaycedowell Mar 15, 2024
b706d5e
Bad merge.
jaycedowell Mar 15, 2024
02434e2
Better comments plus formatting fixes.
jaycedowell Mar 19, 2024
0477754
Indentation.
jaycedowell Mar 19, 2024
b91235b
Merge pull request #177 from ledatelescope/astype-support
dentalfloss1 Mar 19, 2024
3c6c912
clarify the README for the docs
Apr 25, 2024
774cb48
include docs on writing packet formats
Apr 25, 2024
7e97eba
Cleanup whitespace
jaycedowell May 3, 2024
6445e69
Formatting.
jaycedowell May 3, 2024
3a2c4aa
Also need breathe.
jaycedowell May 3, 2024
0ae61e7
Added better documentation build environment detection.
jaycedowell May 29, 2024
b2d56a6
Consolidate docs toggling flags into two.
jaycedowell May 29, 2024
6efaa73
Tie in the doc build flags with the top level Makefile.
jaycedowell May 29, 2024
2a1f8fe
Rebuild configure.
jaycedowell May 29, 2024
7b52298
Switch to detecting the scripts that are used to build the python docs.
jaycedowell May 29, 2024
712d3af
We should make sure this is consistent with the rest of the build.
jaycedowell May 29, 2024
c064bf2
Rebuild configure.
jaycedowell May 29, 2024
27f2834
More verbose about sphinix components.
jaycedowell May 29, 2024
9aab2f2
Rebuild configure.
jaycedowell May 29, 2024
75edbcf
Update README.md
dentalfloss1 Jul 16, 2024
df22011
Update README.md
dentalfloss1 Jul 16, 2024
1376fbb
Update README.md
dentalfloss1 Jul 16, 2024
23530b8
Adjust commands to match.
jaycedowell Jul 16, 2024
89c6d74
See if numpy<2 helps.
jaycedowell Jul 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ jobs:
gawk \
gnu-sed \
pkg-config
- uses: actions/setup-python@v4.3.0
- uses: actions/setup-python@v5.0.0
with:
python-version: ${{ matrix.python-version }}
- name: "Software Install - Python"
run: python -m pip install \
setuptools \
numpy \
"numpy<2" \
matplotlib \
contextlib2 \
simplejson \
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
UNITTEST_OS: ${{ matrix.os }}
UNITTEST_PY: ${{ matrix.python-version }}
if: ${{ matrix.os == 'self-hosted' && matrix.python-version == '3.8' }}
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
files: ./test/coverage.xml, ./testbench/coverage.xml
env_vars: UNITTEST_OS,UNITTEST_PY
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* Added set_stream and get_stream to bifrost.device to help control which CUDA stream is used
* Added bifrost.device.ExternalStream as a context manager to help with mixing Bifrost and cupy/pycuda
* Fixed a problem calling bifrost.reduce on a slice of an array
* Added the astype() method to `bifrost.ndarray`

0.10.0
* Switched over to an autotools-based build system
Expand Down
11 changes: 10 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ DAT_DIR = share
SRC_DIR = src

HAVE_PYTHON = @HAVE_PYTHON@

HAVE_DOCKER = @HAVE_DOCKER@

CAN_BUILD_CXX_DOCS = @HAVE_CXX_DOCS@
CAN_BUILD_PYTHON_DOCS = @HAVE_PYTHON_DOCS@

BIFROST_PYTHON_DIR = python

all: libbifrost python
Expand Down Expand Up @@ -63,8 +67,13 @@ ifeq ($(HAVE_PYTHON),1)
endif
.PHONY: uninstall

doc: $(INC_DIR)/bifrost/*.h Doxyfile
doc: $(INC_DIR)/bifrost/*.h Doxyfile docs/source/*.rst docs/source/*.py
ifeq ($(CAN_BUILD_CXX_DOCS),1)
@DX_DOXYGEN@ Doxyfile
endif
ifeq ($(CAN_BUILD_PYTHON_DOCS),1)
$(MAKE) -C docs singlehtml
endif
.PHONY: doc

python: libbifrost
Expand Down
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,12 @@ go to the following [link](https://colab.research.google.com/github/ledatelescop

### C Dependencies

If using Ubuntu or another Debian-based linux distribution:

$ sudo apt-get install exuberant-ctags

Otherwise check https://ctags.sourceforge.net/ for install instructions.

### Python Dependencies

* numpy
Expand Down Expand Up @@ -171,8 +175,17 @@ your machine.

### Building the Docs from Scratch

Install sphinx and breathe using pip, and also install Doxygen.
Install breathe using pip:

$ sudo pip install breathe sphinx

Also install Doxygen using your package manager.
In Ubuntu, for example:

$ sudo apt-get install doxygen

Otherwise check https://www.doxygen.nl/ for Doxygen install instructions.

Doxygen documentation can be generated by running:

$ make doc
Expand Down
Loading
Loading