forked from M-Labs/artiq
1
0
Fork 0

Merge branch 'master' of github.com:m-labs/artiq

This commit is contained in:
Sebastien Bourdeauducq 2015-08-26 20:43:12 +08:00
commit 8aec02dfcf
4 changed files with 9 additions and 4 deletions

View File

@ -4,6 +4,7 @@ import inspect
from fractions import Fraction from fractions import Fraction
from ctypes import CFUNCTYPE, c_int, c_int32, c_int64, c_double from ctypes import CFUNCTYPE, c_int, c_int32, c_int64, c_double
import struct import struct
import os
import llvmlite_artiq.binding as llvm import llvmlite_artiq.binding as llvm
@ -16,7 +17,7 @@ from artiq.py2llvm.module import Module
llvm.initialize() llvm.initialize()
llvm.initialize_native_target() llvm.initialize_native_target()
llvm.initialize_native_asmprinter() llvm.initialize_native_asmprinter()
if struct.calcsize("P") < 8: if struct.calcsize("P") < 8 and os.name != "nt":
from ctypes import _dlopen, RTLD_GLOBAL from ctypes import _dlopen, RTLD_GLOBAL
_dlopen("libgcc_s.so", RTLD_GLOBAL) _dlopen("libgcc_s.so", RTLD_GLOBAL)

View File

@ -9,7 +9,7 @@ set CMAKE_GENERATOR=Visual Studio 12 2013 Win64
) )
set CMAKE_GENERATOR_TOOLSET=v120_xp set CMAKE_GENERATOR_TOOLSET=v120_xp
@rem Reduce build times and package size by removing unused stuff @rem Reduce build times and package size by removing unused stuff
set CMAKE_CUSTOM=-DLLVM_TARGETS_TO_BUILD=OR1K -DLLVM_INCLUDE_TESTS=OFF ^ set CMAKE_CUSTOM=-DLLVM_TARGETS_TO_BUILD="OR1K;X86" -DLLVM_INCLUDE_TESTS=OFF ^
-DLLVM_INCLUDE_TOOLS=OFF -DLLVM_INCLUDE_UTILS=OFF ^ -DLLVM_INCLUDE_TOOLS=OFF -DLLVM_INCLUDE_UTILS=OFF ^
-DLLVM_INCLUDE_DOCS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF ^ -DLLVM_INCLUDE_DOCS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF ^
-DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_ASSERTIONS=ON

View File

@ -15,7 +15,7 @@ requirements:
- python - python
build: build:
number: 2 number: 3
test: test:
imports: imports:

View File

@ -17,6 +17,10 @@ Installing Anaconda or Miniconda
* Or install the more minimalistic Miniconda (chose Python 3.4) from http://conda.pydata.org/miniconda.html * Or install the more minimalistic Miniconda (chose Python 3.4) from http://conda.pydata.org/miniconda.html
.. warning::
If you are installing on Windows, chose the Windows 32-bit version regardless of whether you have
a 32-bit or 64-bit Windows.
After installing either Anaconda or Miniconda, open a new terminal and make sure the following command works:: After installing either Anaconda or Miniconda, open a new terminal and make sure the following command works::
$ conda $ conda