Arkouda welcomes contributions via feedback, bug reports, and pull requests.
We use a simple Git Feature Branch Workflow
Run make help
to see a list of valid targets for make <target>
.
The Makefile has several categories of targets.
default
- buildsarkouda_server
archive
- archives this Git repository's local master branchdoc
- generates documentationtest
- builds server test binaries in directorytest-bin
clean
- cleans build products
To build all test binaries for the backend Arkouda server, run make -j test
.
Due to long build times, it is typical to build specific tests as needed. Run
make test-help
for a list of available test binaries.
make -j test-bin/Test1 test-bin/Test2
The test targets will only build the test binaries. You are required to run the tests manually at this moment.
To see chpl
debugging output, run make
with VERBOSE=1
.
make VERBOSE=1 test-bin/Test1
Parallel make -j
is supported, but the output will be interleaved, so
VERBOSE
is not particularly useful with make -j
.
While not recommended, if you want to fully specify flags to chpl
when
building the test binaries, you can set TEST_CHPL_FLAGS
.
make -j test TEST_CHPL_FLAGS="--fast"
lowerCamelCase
for variable names
printThreshold = 100
names_with_underscores
for functions
def print_it(x):
print(x)
lowerCamelCase
for variable names and procedures
var aX: [{0..#s}] real;
proc printIt(x) {
writeln(x);
}
UpperCamelCase
for class names
class Foo: FooParent {}