Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
f65ed052
Kaydet (Commit)
f65ed052
authored
Mar 04, 2012
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
mingw: change liblpsolve.a -> .dll.a
üst
cd5bcd60
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
lp_solve_5.5.patch
lpsolve/lp_solve_5.5.patch
+7
-2
makefile.mk
lpsolve/makefile.mk
+1
-1
d.lst
lpsolve/prj/d.lst
+1
-0
No files found.
lpsolve/lp_solve_5.5.patch
Dosyayı görüntüle @
f65ed052
--- misc/build/lp_solve_5.5/lpsolve55/ccc.orig Sat Jun 11 21:27:18 2005
+++ misc/build/lp_solve_5.5/lpsolve55/ccc Sun May 22 11:20:19 2011
@@ -1,
15 +1,28
@@
@@ -1,
25 +1,40
@@
src='../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c'
-c=cc
+c=$CC
...
...
@@ -19,9 +19,11 @@
+inline=
+if [ "$GUI" = "WNT" -a "$COM" = "GCC" ]; then
+ so=dll
+ a=dll.a
+ inline=-DINLINE=static
+else
+ so=so
+ a=a
+ soprefix=lib
+ libs="-lm"
+ pic=-fpic
...
...
@@ -35,7 +37,10 @@
opts='-O3'
$c -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src
@@ -18,8 +31,8 @@
-ar rv liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'`
-ranlib liblpsolve55.a
+ar rv liblpsolve55.$a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'`
+ranlib liblpsolve55.$a
if [ "$so" != "" ]
then
...
...
lpsolve/makefile.mk
Dosyayı görüntüle @
f65ed052
...
...
@@ -65,7 +65,7 @@ lpsolve_LIBS=$(MINGW_SHARED_LIBSTDCPP)
BUILD_ACTION
=
lpsolve_LDFLAGS
=
$(lpsolve_LDFLAGS)
lpsolve_LIBS
=
$(lpsolve_LIBS)
cmd /c cgcc.bat
.ELSE
BUILD_ACTION
=
sh ccc
OUT2LIB
=
$(BUILD_DIR)$/
liblpsolve55.a
OUT2LIB
=
$(BUILD_DIR)$/
liblpsolve55.
dll.
a
.ENDIF
.ELSE
BUILD_ACTION
=
cmd /c cvc6.bat
...
...
lpsolve/prj/d.lst
Dosyayı görüntüle @
f65ed052
...
...
@@ -5,6 +5,7 @@ mkdir: %_DEST%\inc\lpsolve
..\%__SRC%\lib\liblpsolve55.dylib %_DEST%\lib\liblpsolve55.dylib
..\%__SRC%\lib\liblpsolve55.lib %_DEST%\lib\liblpsolve55.lib
..\%__SRC%\lib\liblpsolve55.a %_DEST%\lib\liblpsolve55.a
..\%__SRC%\lib\liblpsolve55.dll.a %_DEST%\lib\liblpsolve55.dll.a
..\%__SRC%\lib\lpsolve55.lib %_DEST%\lib\lpsolve55.lib
..\%__SRC%\bin\lpsolve55.dll %_DEST%\bin\lpsolve55.dll
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment