mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-12 02:53:05 +00:00
Imported healpix tree
This commit is contained in:
parent
4182c30485
commit
4bfb62f177
136 changed files with 26534 additions and 0 deletions
33
external/healpix/config/config.sampler
vendored
Normal file
33
external/healpix/config/config.sampler
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
LS_OPTFLAGS:= -O2 -ffast-math -fomit-frame-pointer $(EXTRA_CPPFLAGS) $(HEALPIX_EXTRAFLAGS)
|
||||
LS_DEBUGFLAGS:= #-g
|
||||
|
||||
ifeq ($(strip $(OMP_SUPPORT)),ON)
|
||||
LS_OMPFLAGS= $(OMP_FLAGS)
|
||||
else
|
||||
LS_OMPFLAGS= -U_OPENMP
|
||||
endif
|
||||
|
||||
LS_PROFILEFLAGS:= #-pg
|
||||
LS_STATICFLAGS:= #-static
|
||||
LS_PICFLAGS:= -fPIC
|
||||
|
||||
EXTERNAL_CFITSIO= yes
|
||||
CFITSIO_EXT_PREFIX= ${HEALPIX_BASE_PATH}/ext_build/cfitsio
|
||||
CFITSIO_EXT_LIB= ${CFITSIO_EXT_PREFIX}/lib/libcfitsio.a
|
||||
CFITSIO_EXT_INC= ${CFITSIO_EXT_PREFIX}/include/
|
||||
|
||||
CC= $(HEALPIX_CC)
|
||||
CL= $(HEALPIX_CC)
|
||||
CWARNFLAGS= -Wall -Wextra -Wno-long-long -Wno-unknown-pragmas -Wshadow -Wmissing-prototypes -Wfatal-errors
|
||||
CCFLAGS_NO_C= $(CWARNFLAGS) $(LS_PROFILEFLAGS) $(LS_DEBUGFLAGS) $(LS_OMPFLAGS) $(LS_PICFLAGS) $(LS_OPTFLAGS) -fno-strict-aliasing --std=gnu89 -pedantic -fdata-sections -ffunction-sections
|
||||
CCFLAGS= $(CCFLAGS_NO_C) -c
|
||||
CLFLAGS= -L. -L$(LIBDIR) $(LS_PROFILEFLAGS) $(LS_OMPFLAGS) $(LS_STATICFLAGS) $(LS_PICFLAGS) $(LS_OPTFLAGS) -lm
|
||||
|
||||
CXX= $(HEALPIX_CXX)
|
||||
CXXL= $(HEALPIX_CXX)
|
||||
CXXWARNFLAGS= -Wall -Wextra -Wstrict-aliasing=2 -Wundef -Wshadow -Wwrite-strings -Wredundant-decls -Woverloaded-virtual -Wcast-qual -Wcast-align -Wpointer-arith -Wold-style-cast -Wno-unknown-pragmas -Wfatal-errors
|
||||
CXXCFLAGS_NO_C= $(CXXWARNFLAGS) $(LS_PROFILEFLAGS) $(LS_DEBUGFLAGS) $(LS_OMPFLAGS) $(LS_PICFLAGS) $(LS_OPTFLAGS) -ansi -fdata-sections -ffunction-sections
|
||||
CXXCFLAGS= $(CXXCFLAGS_NO_C) -c
|
||||
CXXLFLAGS= -L. -L$(LIBDIR) $(LS_PROFILEFLAGS) $(LS_OMPFLAGS) $(LS_STATICFLAGS) $(LS_PICFLAGS) $(LS_OPTFLAGS)
|
||||
|
||||
ARCREATE= ar cr
|
27
external/healpix/config/config.sampler_osx
vendored
Normal file
27
external/healpix/config/config.sampler_osx
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
LS_OPTFLAGS:= -O2 -ffast-math -fomit-frame-pointer $(HEALPIX_EXTRAFLAGS)
|
||||
LS_DEBUGFLAGS:= #-g
|
||||
LS_OMPFLAGS:= #-fopenmp
|
||||
LS_PROFILEFLAGS:= #-pg
|
||||
LS_STATICFLAGS:= #-static
|
||||
LS_PICFLAGS:= -fPIC
|
||||
|
||||
EXTERNAL_CFITSIO= yes
|
||||
CFITSIO_EXT_PREFIX= ${HEALPIX_BASE_PATH}/../cfitsio
|
||||
CFITSIO_EXT_LIB= ${CFITSIO_EXT_PREFIX}/libcfitsio.a
|
||||
CFITSIO_EXT_INC= ${CFITSIO_EXT_PREFIX}
|
||||
|
||||
CC= gcc
|
||||
CL= gcc
|
||||
CWARNFLAGS= -Wall -Wextra -Wno-long-long -Wno-unknown-pragmas -Wshadow -Wmissing-prototypes -Wfatal-errors
|
||||
CCFLAGS_NO_C= $(CWARNFLAGS) $(LS_PROFILEFLAGS) $(LS_DEBUGFLAGS) $(LS_OMPFLAGS) $(LS_PICFLAGS) $(LS_OPTFLAGS) -fno-strict-aliasing --std=gnu89 -pedantic -fdata-sections -ffunction-sections
|
||||
CCFLAGS= $(CCFLAGS_NO_C) -c
|
||||
CLFLAGS= -L. -L$(LIBDIR) $(LS_PROFILEFLAGS) $(LS_OMPFLAGS) $(LS_STATICFLAGS) $(LS_PICFLAGS) $(LS_OPTFLAGS) -lm
|
||||
|
||||
CXX= g++
|
||||
CXXL= g++
|
||||
CXXWARNFLAGS= -Wall -Wextra -Wstrict-aliasing=2 -Wundef -Wshadow -Wwrite-strings -Wredundant-decls -Woverloaded-virtual -Wcast-qual -Wcast-align -Wpointer-arith -Wold-style-cast -Wno-unknown-pragmas -Wfatal-errors
|
||||
CXXCFLAGS_NO_C= $(CXXWARNFLAGS) $(LS_PROFILEFLAGS) $(LS_DEBUGFLAGS) $(LS_OMPFLAGS) $(LS_PICFLAGS) $(LS_OPTFLAGS) -ansi -fdata-sections -ffunction-sections
|
||||
CXXCFLAGS= $(CXXCFLAGS_NO_C) -c
|
||||
CXXLFLAGS= -L. -L$(LIBDIR) $(LS_PROFILEFLAGS) $(LS_OMPFLAGS) $(LS_STATICFLAGS) $(LS_PICFLAGS) $(LS_OPTFLAGS)
|
||||
|
||||
ARCREATE= libtool -static -o
|
25
external/healpix/config/rules.common
vendored
Normal file
25
external/healpix/config/rules.common
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
BLDROOT = $(SRCROOT)/build.$(HEALPIX_TARGET)
|
||||
PREFIX = $(SRCROOT)/$(HEALPIX_TARGET)
|
||||
BINDIR = $(PREFIX)/bin
|
||||
INCDIR = $(PREFIX)/include
|
||||
LIBDIR = $(PREFIX)/lib
|
||||
DOCDIR = $(SRCROOT)/doc
|
||||
|
||||
# do not use any suffix rules
|
||||
.SUFFIXES:
|
||||
# do not use any default rules
|
||||
.DEFAULT:
|
||||
|
||||
$(BLDROOT)/%.o : $(SRCROOT)/%.c
|
||||
@echo "# compiling $*.c"
|
||||
cd $(@D) && $(CC) $(FULL_INCLUDE) -I$(BLDROOT) $(CCFLAGS) $<
|
||||
|
||||
$(BLDROOT)/%.o : $(SRCROOT)/%.cc
|
||||
@echo "# compiling $*.cc"
|
||||
cd $(@D) && $(CXX) $(FULL_INCLUDE) -I$(BLDROOT) $(CXXCFLAGS) $<
|
||||
|
||||
%_mkdir:
|
||||
@if [ ! -d $* ]; then mkdir -p $* ; fi
|
||||
|
||||
distclean: docsrc_clean
|
||||
rm -rf $(BLDROOT) $(PREFIX) $(DOCDIR) $(SRCROOT)/test/test*
|
Loading…
Add table
Add a link
Reference in a new issue