Skip to content

Commit

Permalink
Merge pull request #48 from kbarbary/precompile
Browse files Browse the repository at this point in the history
Enable precompilation
  • Loading branch information
kbarbary committed Feb 29, 2016
2 parents 375ad50 + 65a313c commit 1bd337c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v0.8.2 (2015-02-29)
===================

- enable precompilation

v0.8.1 (2015-09-30)
===================

Expand Down
15 changes: 2 additions & 13 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,9 @@ Install

On linux or OS X, if it isn't already installed on your system,
the cfitsio library is automatically downloaded and compiled
(in your Julia packages directory).
(in your Julia packages directory). On Windows, a compiled dll will be
downloaded.

.. note:: **Windows support**

On Windows, a compiled dll will be downloaded (in your Julia
packages directory). At the moment, the latest master
version of BinDeps is required. To get it, do::

julia> Pkg.add("BinDeps")
julia> Pkg.checkout("BinDeps")

then do the usual::

julia> Pkg.add("FITSIO")

Usage
-----
Expand Down
2 changes: 2 additions & 0 deletions src/FITSIO.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
isdefined(Base, :__precompile__) && __precompile__()

module FITSIO

using Compat
Expand Down
2 changes: 2 additions & 0 deletions src/libcfitsio.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@
# -------------------------------------------------
#

isdefined(Base, :__precompile__) && __precompile__()

module Libcfitsio

using Compat
Expand Down

0 comments on commit 1bd337c

Please sign in to comment.