Skip to content

Commit

Permalink
Try to build with the same CC to get more consistent results
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17246 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Sep 15, 2013
1 parent 72cde32 commit 7ee6296
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile.common
Expand Up @@ -88,7 +88,7 @@ build/include/omc/gc_version.h: 3rdParty/gc-7.2/include/gc_version.h mkbuilddirs
(cd 3rdParty/gc-7.2 && ./configure $(GC_THREADS) --enable-large-config CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS) -DTHREAD_LOCAL_ALLOC")

build/lib/omc/libopenblas_openmodelica.a:
$(MAKE) -C 3rdParty/OpenBLAS-0.2.8 CC=$(CC) USE_THREAD=0 NO_LAPACKE=1 LIBNAMESUFFIX=openmodelica
$(MAKE) -C 3rdParty/OpenBLAS-0.2.8 USE_THREAD=0 NO_LAPACKE=1 LIBNAMESUFFIX=openmodelica
$(MAKE) -C 3rdParty/OpenBLAS-0.2.8 PREFIX=${abs_top_builddir}/build OPENBLAS_LIBRARY_DIR=${abs_top_builddir}/build/lib/omc OPENBLAS_INCLUDE_DIR=${abs_top_builddir}/3rdParty/build/install-includes/ NO_LAPACKE=1 LIBNAMESUFFIX=openmodelica install
openblas: build/lib/omc/libopenblas_openmodelica.a

Expand Down
4 changes: 2 additions & 2 deletions configure.in
Expand Up @@ -379,10 +379,10 @@ else
SUNDIALS_LDFLAGS="$LD_LAPACK"
fi

AC_CHECK_HEADERS(locale.h libintl.h,[],[AC_MSG_ERROR([gettext headers not found])])

LIBS=""

AC_CHECK_HEADERS(locale.h libintl.h,[],[AC_MSG_ERROR([gettext headers not found])])

AC_MSG_CHECKING([gettext linking])
AC_TRY_LINK([
#include <libintl.h>
Expand Down

0 comments on commit 7ee6296

Please sign in to comment.