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

fairly comprehensive reorg #68

Merged
merged 26 commits into from
Nov 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
dd9e544
wip
mweastwood Oct 13, 2017
38ce8d5
fix column shape calculation
mweastwood Oct 13, 2017
82d0212
fix Travis build
mweastwood Oct 13, 2017
afaf769
generalize string handling and start re-adding cell functions
mweastwood Nov 3, 2017
b6cc1c4
cells are working again
mweastwood Nov 3, 2017
5bcfadb
begin to put keywords back in
mweastwood Nov 3, 2017
17247ae
arrays as keywords are now working
mweastwood Nov 11, 2017
cfef98c
reenable a bunch of tests
mweastwood Nov 11, 2017
64c66ea
reenable measures
mweastwood Nov 11, 2017
f89a6e6
read table keywords
mweastwood Nov 11, 2017
2a6121c
wip
mweastwood Nov 14, 2017
d3ce384
more wip
mweastwood Nov 14, 2017
dd63247
restore column keywords to a working state
mweastwood Nov 14, 2017
c75e839
quick typo fix in tests
mweastwood Nov 14, 2017
f8c2335
increase the test coverage slightly
mweastwood Nov 14, 2017
57ce0bc
slight interface changes and begin working on docs
mweastwood Nov 14, 2017
f333454
begin to revamp measures now
mweastwood Nov 16, 2017
4859759
some quick tables test fixes
mweastwood Nov 16, 2017
d40d229
split measures into multiple files
mweastwood Nov 16, 2017
e8cc580
additional refinements
mweastwood Nov 17, 2017
830ec4d
more tests and reorg
mweastwood Nov 21, 2017
3555c2b
add some tests for math with measures
mweastwood Nov 21, 2017
2de7764
wip docs
mweastwood Nov 21, 2017
1853e52
expand CasaCore.Tables docs
mweastwood Nov 21, 2017
fe524ad
add a reference to UnitfulAstro
mweastwood Nov 21, 2017
5e44431
delete a show statement that snuck into a commit
mweastwood Nov 21, 2017
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
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ before_install:
- sudo apt-get update -qq -y
- sudo apt-get install libcasacore2-dev -y
- sudo apt-get install casacore-data -y
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.clone(pwd()); Pkg.build("CasaCore")'
- julia --check-bounds=yes -e 'Pkg.test("CasaCore"; coverage=true)'
after_success:
- julia -e 'cd(Pkg.dir("CasaCore")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
- julia -e 'cd(Pkg.dir("CasaCore")); Pkg.add("Documenter"); include(joinpath("docs", "make.jl"))'
Expand Down
1 change: 0 additions & 1 deletion deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ src = joinpath(depsdir,"src")
# Build the CasaCore wrapper
println("Building the CasaCore wrapper...")
run(`make -C $src`)
run(`make -C $src install`)

25 changes: 12 additions & 13 deletions deps/src/Makefile
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
CXX = g++
CXXFLAGS = -c -std=c++0x -Wall -Werror -fpic -Wno-return-type-c-linkage
LDLIBS = -lcasa_casa -lcasa_tables -lcasa_measures
LDFLAGS = -Wl,-rpath,\$$ORIGIN -Wl,--no-undefined

all: libcasacorewrapper.so
MODULES = tables measures
OBJ = $(addsuffix /module.o, $(MODULES))

.PHONY: all clean $(MODULES)

tables.o: tables.cpp
$(CXX) $(CXXFLAGS) tables.cpp
all: libcasacorewrapper.so

measures.o: measures.cpp
$(CXX) $(CXXFLAGS) measures.cpp
libcasacorewrapper.so: $(MODULES)
$(CXX) -shared $(LDFLAGS) -o libcasacorewrapper.so $(OBJ) $(LDLIBS)

libcasacorewrapper.so: tables.o measures.o
$(CXX) -shared -o libcasacorewrapper.so tables.o measures.o -lcasa_tables -lcasa_measures
$(MODULES):
$(MAKE) -C $@

clean:
-rm *.o
-rm *.so

install:
cp libcasacorewrapper.so ..
-rm -f libcasacorewrapper.so

20 changes: 20 additions & 0 deletions deps/src/measures/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
CXX = g++
CXXFLAGS = -c -std=c++0x -Wall -Werror -fpic -Wno-return-type-c-linkage

SRC = $(wildcard *.cpp)
OBJ = $(SRC:.cpp=.o)

.PHONY: all clean

all: module.o

module.o: $(OBJ)
$(LD) -r $(OBJ) -o module.o

%.o: %.cpp
$(CXX) $(CXXFLAGS) -o $@ $<

clean:
-rm -f $(OBJ)
-rm -f module.o

2 changes: 1 addition & 1 deletion deps/src/measures.cpp → deps/src/measures/measures.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2015, 2016 Michael Eastwood
// Copyright (c) 2015-2017 Michael Eastwood
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
Loading