Skip to content

Commit

Permalink
update to libraw 0.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
letmaik committed Aug 8, 2020
1 parent ac7cfc5 commit 66f0568
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/scripts/build-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,12 @@ libraw_dir=$(pwd)/external/LibRaw
pushd external/LibRaw-cmake
mkdir build
cd build
cmake -DLIBRAW_PATH=$libraw_dir -DENABLE_EXAMPLES=OFF -DENABLE_RAWSPEED=OFF -DCMAKE_BUILD_TYPE=Release ..
cmake .. \
-DLIBRAW_PATH=$libraw_dir \
-DCMAKE_CXX_FLAGS="-DUSE_X3FTOOLS -DUSE_6BY9RPI" \
-DENABLE_EXAMPLES=OFF \
-DENABLE_RAWSPEED=OFF \
-DCMAKE_BUILD_TYPE=Release
make
make install -j$(nproc)
echo "/usr/local/lib" | tee /etc/ld.so.conf.d/99local.conf
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Or install the latest release version from the source repository:
git clone https://github.com/LibRaw/LibRaw.git libraw
git clone https://github.com/LibRaw/LibRaw-cmake.git libraw-cmake
cd libraw
git checkout 0.19.5
git checkout 0.20.0
cp -R ../libraw-cmake/* .
cmake .
sudo make install
Expand Down
2 changes: 1 addition & 1 deletion external/LibRaw
Submodule LibRaw updated 211 files
2 changes: 1 addition & 1 deletion rawpy/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.14.0"
__version__ = "0.15.0"
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ def windows_libraw_compile():
enable_openmp_flag = 'ON' if has_openmp_dll else 'OFF'
cmds = [cmake + ' .. -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release ' +\
'-DLIBRAW_PATH=' + libraw_dir.replace('\\', '/') + ' ' +\
'-DCMAKE_CXX_FLAGS="-DUSE_X3FTOOLS -DUSE_6BY9RPI" ' +\
'-DENABLE_EXAMPLES=OFF -DENABLE_OPENMP=' + enable_openmp_flag + ' -DENABLE_RAWSPEED=OFF ' +\
('-DENABLE_DEMOSAIC_PACK_GPL2=ON -DDEMOSAIC_PACK_GPL2_RPATH=../../LibRaw-demosaic-pack-GPL2 ' +\
'-DENABLE_DEMOSAIC_PACK_GPL3=ON -DDEMOSAIC_PACK_GPL3_RPATH=../../LibRaw-demosaic-pack-GPL3 '
Expand Down Expand Up @@ -235,6 +236,7 @@ def mac_libraw_compile():
install_name_dir = os.path.join(install_dir, 'lib')
cmds = ['cmake .. -DCMAKE_BUILD_TYPE=Release ' +\
'-DLIBRAW_PATH=' + libraw_dir + ' ' +\
'-DCMAKE_CXX_FLAGS="-DUSE_X3FTOOLS -DUSE_6BY9RPI" ' +\
'-DENABLE_OPENMP=OFF ' +\
'-DENABLE_EXAMPLES=OFF -DENABLE_RAWSPEED=OFF ' +\
('-DENABLE_DEMOSAIC_PACK_GPL2=ON -DDEMOSAIC_PACK_GPL2_RPATH=../../LibRaw-demosaic-pack-GPL2 ' +\
Expand Down

0 comments on commit 66f0568

Please sign in to comment.