Skip to content

Commit

Permalink
fix bug #171: add unit test, move the flag to makefile.llvmconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
dorafmon committed Dec 23, 2014
1 parent 43c0836 commit 8e2e289
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -499,7 +499,7 @@ endif
$(LLVM_CONFIGURATION): $(LLVM_SRC)/configure $(LLVM_CONFIG_INCL) | $(LLVM_SRC)/_patched
mkdir -p $(LLVM_BUILD)
cd $(LLVM_BUILD) ; \
$(LLVM_CONFIGURE_LINE) --disable-bindings
$(LLVM_CONFIGURE_LINE)
# CXX=ccache\ g++ ./configure --enable-targets=host
# CXX='env CCACHE_PREFIX=distcc ccache g++' ./configure --enable-targets=host

Expand Down
2 changes: 1 addition & 1 deletion Makefile.llvmconfig
@@ -1,3 +1,3 @@
# included by Makefile

LLVM_CONFIGURE_LINE := CXX=$(GPP) LDFLAGS="-Wl,-rpath,$(GCC_DIR)/lib64" $(LLVM_SRC)/configure --enable-targets=host --with-gcc-toolchain=$(GCC_DIR)
LLVM_CONFIGURE_LINE := CXX=$(GPP) LDFLAGS="-Wl,-rpath,$(GCC_DIR)/lib64" $(LLVM_SRC)/configure --enable-targets=host --with-gcc-toolchain=$(GCC_DIR) --disable-bindings
5 changes: 5 additions & 0 deletions test/tests/list_eq_contains.py
@@ -0,0 +1,5 @@
nan = float('nan')
print nan == nan
print nan in [nan]
print [nan] == [nan]
print [nan] in [nan]

0 comments on commit 8e2e289

Please sign in to comment.