Changeset 24611
- Timestamp:
- 02/27/20 16:19:24 (5 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/etc/environment.sh
r24466 r24611 446 446 447 447 TRIANGLE_DIR="${ISSM_DIR}/externalpackages/triangle/install" 448 ld_library_path_append "${TRIANGLE_DIR}/lib" 448 if [ -d "${TRIANGLE_DIR}" ]; then 449 ld_library_path_append "${TRIANGLE_DIR}/lib" 450 dyld_library_path_append "${TRIANGLE_DIR}/lib" 451 fi -
issm/trunk-jpl/externalpackages/triangle/install-windows-static.sh
r24605 r24611 24 24 # Compile 25 25 cd src 26 make s hared26 make static 27 27 28 28 # Install -
issm/trunk-jpl/externalpackages/triangle/makefile
r11989 r24611 1 #Adaptation of Triangle makefile to compile only the triangle.c file,2 #into a standalone library that can then be used to compile mex modules3 4 1 include ./configure.make 5 2 … … 16 13 endif 17 14 18 TRILIBDEFS = -DTRILIBRARY 19 20 all: triangle.$(LIB_EXT) 21 15 SOURCES=triangle.c triangle.h 22 16 OBJECTS=triangle.$(OBJ_EXT) 23 17 24 triangle.$(LIB_EXT): $(OBJECTS) 25 $(AR) cr triangle.$(LIB_EXT) $(OBJECTS) 26 $(RANLIB) triangle.$(LIB_EXT) 18 all: libtriangle.$(STATIC_LIB_EXT) libtriangle.$(SHARED_LIB_EXT) 27 19 28 triangle.$(OBJ_EXT): triangle.c triangle.h 20 objects: $(OBJECTS) 21 22 shared: libtriangle.$(SHARED_LIB_EXT) 23 24 static: libtriangle.$(STATIC_LIB_EXT) 25 26 triangle.$(OBJ_EXT): $(SOURCES) 29 27 $(CC) $(CSWITCHES) $(TRILIBDEFS) -c triangle.c 30 28 31 clean: 29 libtriangle.$(STATIC_LIB_EXT): $(OBJECTS) 30 $(AR) cr $@ $(OBJECTS) 31 $(RANLIB) $@ 32 33 libtriangle.dll: $(SOURCES) 34 $(CC) $(CSWITCHES) $(TRILIBDEFS) -shared -o $@ triangle.c 35 36 libtriangle.dylib: $(OBJECTS) 37 $(CC) $(CSWITCHES) $(TRILIBDEFS) -dynamiclib -install_name $(PREFIX)/$@ -o $@ triangle.c 38 39 libtriangle.lib: $(OBJECTS) 40 lib -out:triangle.$(STATIC_LIB_EXT) $(OBJECTS) 41 42 libtriangle.so: $(SOURCES) 43 $(CC) $(CSWITCHES) $(TRILIBDEFS) -shared -o $@ triangle.c 44 45 clean: 32 46 rm -rf *.$(LIB_EXT) *.$(OBJ_EXT) *.LIB *.LST *.$(OBJ_EXT)bj *.BAK -
issm/trunk-jpl/jenkins/windows
r24605 r24611 41 41 petsc install-3.6-win10.sh 42 42 metis install-4.0-win10.sh 43 triangle install-windows .sh43 triangle install-windows-static.sh 44 44 shell2junit install.sh" 45 45
Note:
See TracChangeset
for help on using the changeset viewer.