Skip to content

Commit

Permalink
FIX: use d8b92543017053a2b2c5ca901ea310e20690b137 due to missing header
Browse files Browse the repository at this point in the history
  • Loading branch information
trofimov_d_a committed Mar 5, 2021
1 parent 17bcc58 commit 4e61b27
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ NOTE: use `-s llvm_tools:build_type=Release` during `conan install`
```bash
conan remote add conan-center https://api.bintray.com/conan/conan/conan-center False

export PKG_NAME=fmt/7.1.3@dev/stable
export PKG_NAME=fmt/master@dev/stable

(CONAN_REVISIONS_ENABLED=1 \
conan remove --force $PKG_NAME || true)
Expand Down
8 changes: 6 additions & 2 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@

class FmtConan(conan_build_helper.CMakePackage):
name = "fmt"
version = "7.1.3"
version = "master"
commit = "d8b92543017053a2b2c5ca901ea310e20690b137"
homepage = "https://github.com/fmtlib/fmt"
repo_url = 'https://github.com/fmtlib/fmt'
description = "A safe and fast alternative to printf and IOStreams."
Expand Down Expand Up @@ -110,7 +111,10 @@ def source(self):
#tools.get(**self.conan_data["sources"][self.version])
#extracted_dir = self.name + "-" + self.version
#os.rename(extracted_dir, self._source_subfolder)
self.run('git clone --progress --branch {} --recursive --recurse-submodules {} {}'.format(self.version, self.repo_url, self._source_subfolder))
self.run('git clone --progress --branch {} --single-branch --recursive --recurse-submodules {} {}'.format(self.version, self.repo_url, self._source_subfolder))
if self.commit:
with tools.chdir(self._source_subfolder):
self.run('git checkout {}'.format(self.commit))

def _configure_cmake(self):
if self._cmake:
Expand Down

0 comments on commit 4e61b27

Please sign in to comment.